PDA

View Full Version : Deactivating "Restricting Access" to Contributors



mikeslackenerny
08-15-2007, 05:04 AM
Hello,

I got my DekiWiki (Hayes latest) running off a Vista box a few hours back! :D

Before I throw it open for limited testing in my group, I was wondering if it was possible to deny permissions to users with edit access (i.e. Contributors) to 'restrict access', as it seems that 'Contributors' may restrict access to any page (and subsequent children pages), even if they have not created them!

There is a potential for service denial due to this. Though we should assume good faith wrt users, I am sure a few will experiment with the restricting access feature, and just this much may cause issues.

One approach could be that Contributors may restrict access to only those pages that they have created (and that only if no one else has edited them since). This approach has obvious flaws.

A better way would be to allow two levels of Contributors, one which has permissions to 'restrict access', while the other does not. (An even better enhancement would be if the restrictions were only applicable to some branches within the Wiki-tree in the Dekiwiki).

Is it possible to do the above? Or at the least, is it possible to NOT give restrict-access perms to "Contributer" level users?

I'd really appreciate any help with this issue. Thank you.

regards,
Rishi

mikeslackenerny
08-15-2007, 03:17 PM
All right, the following page has helped me a bit.

http://wiki.opengarden.org/Deki_Wiki/Specs/Page_Permissions/Actions_and_Roles

Looking at the above, is it possible for me to customize existing roles, or add new roles with the permissions I want? How may i do this?

regards,
Rishi

SteveB
08-15-2007, 07:37 PM
Yes, you can customize roles, but you'll have to do so by directly accessing the database. Tools like SQLyog make that quite (http://www.webyog.com/).

mikeslackenerny
08-16-2007, 11:04 PM
Where is the "You Rock" emoticon?:cool:

I edited the roles table to add another role with a value of '319' (see the table i have linked in my previous posts) and now I can give users edit access without letting them restrict pages, while retaining the option if giving this power to those I trust.

Thank you so much, and for pointing me out to the GUI.

regards,
Rishi