Urr... This is a mailing list. You should organize your emails according to the To: -field, not the subject line.

I doubt you would get everyone on this mailing list to agree to your rules ;-)

/Janne

On 17 Aug 2009, at 00:02, Arian Möhlmann wrote:

Hi James/Cowan,

Please start subject of mail with JSPWIKI so I can directly organize
incoming mail accordingly.

Can you agree to do so?

Best Regards Arian
Op vrijdag 14-08-2009 om 14:59 uur [tijdzone +0100], schreef James
Cowan:
Hi

How do I set up a policy that allows login but not registration?

I have commented out All and Anonymous permissions as below  but this
still allows registration.

grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
/*
permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "none"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editPreferences"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editProfile";
*/
permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
};


// The second policy block is extremely loose, and unsuited for public-facing wikis. // Anonymous users are allowed to create, edit and comment on all pages.
//
// Note: For Internet-facing wikis, you are strongly advised to remove the // lines containing the "modify" and "createPages" permissions; this will make
// the wiki read-only for anonymous users.

// Note that "modify" implies *both* "edit" and "upload", so if you wish to
// allow editing only, then replace "modify" with "edit".

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



James

Reply via email to