Item10877: NatEditPlugin - Allow editing of Permissions with PatternSkin

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: NatEditPlugin
Branches: trunk
Reported By: PadraigLennon
Waiting For:
Last Change By: MichaelDaum
I have tested the UI for editing permissions with NatSkin but it does not seem to be available when using just NatEditPlugin with PatternSkin.

Would it be difficult to add this feature?

-- PadraigLennon - 14 Jun 2011

It's supposed to work. Are all the dependencies installed? SetVariablePlugin for example

-- PaulHarvey - 14 Jun 2011

The dependancies are as follows:

Foswiki::Plugins::JQueryPlugin,>=3740,perl,Required.
Foswiki::Plugins::SetVariablePlugin,>=4287,perl,Optional.
Foswiki::Plugins::TopicInteractionPlugin,>=1,perl,Optional, require to be able to upload attachments from the editor.
Foswiki::Plugins::RenderPlugin,>=3644,perl,Optional.
ONLYIF ( $Foswiki::Plugins::VERSION < 2.1)
Foswiki::Plugins::ZonePlugin,>=3.1,perl,Required. required for Foswiki < 1.1

I have all installed except TopicInteractionPlugin which does not seem to be available via configure

-- PadraigLennon - 14 Jun 2011

Oh dear; it seems I've got a local branch of NatEditPlugin that I'd forgotten about. Here is the patch I had:
  • Have NatSkin installed (but you don't need to use it)
  • Here's the diff to NatEditPlugin:
    diff --git a/templates/edit.natedit.tmpl b/templates/edit.natedit.tmpl
    index a0d2384..3c704a2 100644
    --- a/templates/edit.natedit.tmpl
    +++ b/templates/edit.natedit.tmpl
    @@ -1,4 +1,5 @@
     %TMPL:INCLUDE{"edit"}%<!-- template: edit.natedit.tmpl -->
    +%TMPL:INCLUDE{"edit.nat"}%<!-- template: edit.nat.tmpl -->
     %TMPL:INCLUDE{"editjavascript"}%<!-- edittoolbar// -->
     %TMPL:INCLUDE{"edittoolbar"}%<!-- edittoolbar// -->
     %TMPL:INCLUDE{"edithelp"}%<!-- edithelp// -->

Also created Item10909 for a WYSIWYG patch I'd forgotten about.

Padraig, can you try the above patch (and install NatSkin)?

Michael, is there a way we can move this template into NatEditPlugin?

-- PaulHarvey - 22 Jun 2011

What exactly does your patch fix? It certainly is not the right way to do it.

What's the value of the SKIN variable?

-- MichaelDaum - 22 Jun 2011

The permission tab is missing, unless you have NatSkin installed and in your SKIN path.

My SKIN path looks like natedit, widgetstrin, widgets (we recently moved to WidgetsSkin after we found some of our graphic designers has experience with moveable type skinning).

-- PaulHarvey - 22 Jun 2011

My SKIN path is: natedit,metacomment,jqmenu,pattern

-- PadraigLennon - 22 Jun 2011

Implemented in latest release

-- MichaelDaum - 17 Feb 2012
Topic revision: r11 - 17 Feb 2012, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy