jspwiki.policy and anonymous users

"James Cowan" <[email protected]> Mon, 20 Aug 2007 14:37:23 +0100
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <A4C12B053D824500BBDBC6558E8D3711@marvin>
I want to stop anonymous users from being able to edit pages etc.

I have removed the roles from the Anonymous and Asserted users as below and 
restarted tomcat but this seems to have no effect.

Is there something else I need to do?

James

grant signedBy "jspwiki",
  principal com.ecyrd.jspwiki.auth.authorize.Role "Anonymous" {
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", 
"view";
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", 
"modify";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", 
"createPages";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", 
"editPreferences";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", 
"editProfile";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", 
"login";
};

changed to

grant signedBy "jspwiki",
  principal com.ecyrd.jspwiki.auth.authorize.Role "Anonymous" {
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", 
"view";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", 
"login";
};