You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by js...@abilsoft.com on 2009/10/02 04:46:04 UTC

Hiearchical Security???

Hello,

I'm fairly new to JSPWiki.  However, I have managed to get page 
level security working with page directives such as [{ALLOW 
view SocialCommittee}].

My question is, can this be made to apply hiearchically to all 
pages below and linked to by the page it is decelared on?  If 
not, is there a way to achieve this effect?  I'd like to have 
a 'secured' area in the wiki that does no rely on each author 
remembering to maintain this declaration on each page he/shee 
edits or creates.

Your thought and idease will be greatly appreciated.

TIA!

Re: Hiearchical Security???

Posted by Andrew Jaquith <an...@gmail.com>.
No, you understand very well. If you don't have predictability in the
page names, it might be hard to use wildcards. Nonetheless, you might
be able to use it as a work-around in the short/medium term.

There is no firm release date on JSPWiki 3. There will likely be an
alpha release before the end of the year, but that release probably
won't have full hierarchical page support. If that feature doesn't
come in the alpha, it will certainly be in the beta.

Andrew

On Fri, Oct 2, 2009 at 9:46 AM,  <js...@abilsoft.com> wrote:
> Andrew,
>
> Thanks for your reply.  I am looking at the documentation that
> you have suggested, but am still a bit confused.  As I do not
> know what the pages that will be created in the furture are
> called, and since the pages that exist today do not follow a
> single wildcard pattern (xyz* for example), I'm not sure how
> this method would be any different other than it would require
> the administrator to keep track of the pages and update the
> policy file accordingly.  Have I misunderstood somethings?
>
> BTW, When is JSPWiki 3 with support for hiearachical sub-pages
> going to be avaialble?
>
> Thanks again.
>
> ---------Original Message---------
>
> You can approximate what you have described by editing the
> jspwiki.policy file in WEB-INF. The policy specifies what
> permissions
> are granted per role, and for all roles. You can name ranges of
> pages
> that the permissions are granted to, also, by using wildcards.
>
> JSPWiki 3 will have support for sub-pages, which are
> hierarchical. But
> in the meantime you can still do quite a lot with the existing
> policy
> grammar.
>
> Check out the documentation on jspwiki.org -- there's an
> extremely
> detailed article that describes the security features in detail.
>
> Andrew
>
> On Oct 1, 2009, at 22:46, jspwiki@abilsoft.com wrote:
>
>> Hello,
>>
>> I'm fairly new to JSPWiki.  However, I have managed to get
> page
>> level security working with page directives such as [{ALLOW
>> view SocialCommittee}].
>>
>> My question is, can this be made to apply hiearchically to all
>> pages below and linked to by the page it is decelared on?  If
>> not, is there a way to achieve this effect?  I'd like to have
>> a 'secured' area in the wiki that does no rely on each author
>> remembering to maintain this declaration on each page he/shee
>> edits or creates.
>>
>> Your thought and idease will be greatly appreciated.
>>
>> TIA!
>
>
>

Re: Hiearchical Security???

Posted by js...@abilsoft.com.
Andrew,

Thanks for your reply.  I am looking at the documentation that 
you have suggested, but am still a bit confused.  As I do not 
know what the pages that will be created in the furture are 
called, and since the pages that exist today do not follow a 
single wildcard pattern (xyz* for example), I'm not sure how 
this method would be any different other than it would require 
the administrator to keep track of the pages and update the 
policy file accordingly.  Have I misunderstood somethings?

BTW, When is JSPWiki 3 with support for hiearachical sub-pages 
going to be avaialble?

Thanks again.

---------Original Message---------

You can approximate what you have described by editing the  
jspwiki.policy file in WEB-INF. The policy specifies what 
permissions  
are granted per role, and for all roles. You can name ranges of 
pages  
that the permissions are granted to, also, by using wildcards.

JSPWiki 3 will have support for sub-pages, which are 
hierarchical. But  
in the meantime you can still do quite a lot with the existing 
policy  
grammar.

Check out the documentation on jspwiki.org -- there's an 
extremely  
detailed article that describes the security features in detail.

Andrew

On Oct 1, 2009, at 22:46, jspwiki@abilsoft.com wrote:

> Hello,
>
> I'm fairly new to JSPWiki.  However, I have managed to get 
page
> level security working with page directives such as [{ALLOW
> view SocialCommittee}].
>
> My question is, can this be made to apply hiearchically to all
> pages below and linked to by the page it is decelared on?  If
> not, is there a way to achieve this effect?  I'd like to have
> a 'secured' area in the wiki that does no rely on each author
> remembering to maintain this declaration on each page he/shee
> edits or creates.
>
> Your thought and idease will be greatly appreciated.
>
> TIA!



Re: Hiearchical Security???

Posted by Andrew Jaquith <an...@gmail.com>.
You can approximate what you have described by editing the  
jspwiki.policy file in WEB-INF. The policy specifies what permissions  
are granted per role, and for all roles. You can name ranges of pages  
that the permissions are granted to, also, by using wildcards.

JSPWiki 3 will have support for sub-pages, which are hierarchical. But  
in the meantime you can still do quite a lot with the existing policy  
grammar.

Check out the documentation on jspwiki.org -- there's an extremely  
detailed article that describes the security features in detail.

Andrew

On Oct 1, 2009, at 22:46, jspwiki@abilsoft.com wrote:

> Hello,
>
> I'm fairly new to JSPWiki.  However, I have managed to get page
> level security working with page directives such as [{ALLOW
> view SocialCommittee}].
>
> My question is, can this be made to apply hiearchically to all
> pages below and linked to by the page it is decelared on?  If
> not, is there a way to achieve this effect?  I'd like to have
> a 'secured' area in the wiki that does no rely on each author
> remembering to maintain this declaration on each page he/shee
> edits or creates.
>
> Your thought and idease will be greatly appreciated.
>
> TIA!