// Administrators (principals or roles possessing AllPermission) // are allowed to delete any page, and can edit, rename and delete // groups. You should match the permission target (here, 'JSPWiki') // with the value of the 'jspwiki.applicationName' property in // jspwiki.properties. Two administative groups are set up below: // the wiki group "Admin" (stored by default in wiki page GroupAdmin) // and the container role "Admin" (managed by the web container). grant signedBy "jspwiki", principal com.ecyrd.jspwiki.auth.GroupPrincipal "Admin"...{ permission com.ecyrd.jspwiki.auth.permissions.AllPermission "wiki"; }; grant signedBy "jspwiki", principal com.ecyrd.jspwiki.auth.authorize.Role "Admin"...{ permission com.ecyrd.jspwiki.auth.permissions.AllPermission "wiki"; };
管理员却不能删除页面和附件 jspwiki.policy中的// Administrators (principals or roles possessing AllPermission) // are allowed to delete any page, and can edit, rename and delete // groups. You shoul