incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lana Frost <Lana.Fr...@Sun.COM>
Subject Re: Problem granting delete rights to a group
Date Wed, 25 Feb 2009 14:46:46 GMT
Thanks Andrew,

We're still on 2.4 - I haven't had time to do the update yet. Is this 
functionality available in the 2.4 release?

(It does appear that the GroupManager is working properly - the 
"Trusted" group is displayed on the profile page for the users in the 
group.)

Many thanks in advance,
Lana

Andrew Jaquith wrote:
> Lana -- I don't know what version of JSPWiki you are using from your
> e-mail. But the grant block looks ok. If you are using 2.8, you can
> omit the "signedBy" part of the grant block. That could be part of the
> problem.
>
> Have you verified that the GroupManager is working properly? If you
> log in as a user that belongs to the group Trusted, it should be
> listed in the user's profile page as a group they belong to.
>
> Andrew
>
> On Tue, Feb 24, 2009 at 10:09 AM, Lana Frost <Lana.Frost@sun.com> wrote:
>   
>> Hi,
>>
>> I have created a group called "Trusted" and added the following to my
>> jspwiki.policy file:
>>
>> grant signedBy "jspwiki",
>>  principal com.ecyrd.jspwiki.auth.authorize.Group "Trusted" {
>>   permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*",
>> "modify,rename,delete";
>> };
>>
>> However, the users within the trusted group are still unable to delete
>> pages.  I have restarted Tomcat, and that doesn't seem to solve the problem.
>>
>> Can anyone see an error in the grant declaration or is there some other step
>> that I'm missing?
>>
>> Thanks in advance,
>> Lana
>>
>>     


Mime
View raw message