Page 1 of 1

Changing Edit Entry permissions

Posted: Thu Sep 21, 2006 12:47 am
by dazza
Been thinking of a way to get Serendipity to work like this:
1. The author who creates a category is the only one who can edit entries in that category. No even people who contribute entries to that category can edit entries, only the person who created (or owns) that category
2. You can only edit entries on categories that you own.

Any ideas about how that could be done? I might be missing something with the way Groups work at the moment.

cheers
Daryn

Posted: Thu Sep 21, 2006 4:42 am
by judebert
I'm really a lot more familiar with Unix permissions than Serendipity permissions. Sigh.

I see in the database that categories are assigned an authorid. But I don't see anywhere in the configuration where that can be changed or used. In fact, the only place I see a mention of "user's categories" is in Manage Groups, where you can allow members of a group to "Administrate other user's categories".

The categories themselves get read and write permissions for particular groups. SO, in the extreme case, you could make each user a group of his own, with read access to all categories, but write access only to his own category.

But that's a lot of setup and maintenance. Anybody else know a better way?

Been thinking of the same thing

Posted: Wed Nov 01, 2006 12:49 am
by etov
I did a search on forum to get this topic. Here is what I am thinking as I am now ready to begin invites to join my site (www.etov.com if you are inclined)
What I am thinking is setting up new users in a group (Newbie) that only allows write and access to categories I set up, and one of the categories will be "them" with an image of their choosing. Later on, lets say 90 days later, they can request to be a part of the larger group that can create categories, etc.

What I really want is to have folks use my images uploaded, but be able to create their own categories that others can use, but can not change. Can that be done? I don't want someone changing a global category and ruining the authors intent, so to speak.

Re: Been thinking of the same thing

Posted: Wed Nov 01, 2006 6:09 pm
by garvinhicking
Hi etov!

Currently, you can only give "Full Category Management" privileges to a user to create new categories. He will then also be able to modify global categories.

Best regards,
Garvin

So what happens when........

Posted: Wed Nov 01, 2006 6:18 pm
by etov
When I allow a user to create the category "art" and he then writes about "art", then another user comes along and changes the category to "my dog" and writes about his dog? By allowing them to create categories, I am also allowing them to destroy categories aren't I, or does the original "art" category stay as "art"?
Thanks,
I love the s9y, now if I can get google to buy me out!!!!!!

Re: So what happens when........

Posted: Wed Nov 01, 2006 6:49 pm
by garvinhicking
Hi!

Yes, by allowing them to modify categories, the scenario you describe is possible.

Thus, category management is usually only granted to users who are not "evil".

Of course, you could introduce new permissions that change this sort of behaviour, but that needs to be implemented into Serendipity and would take some serious work... :-/

Best regards,
Garvin