bonjour
I want to allow a group to post a news item but prohibit the change of category of this news
in fact, only the super aministrateur must have the rights to change categories
are there any way to do this without hard coding
otherwise, what file should be changed
merci
Comments
thanks
rb
Do you want any other restrictions? Is it ok for all group members to edit any post in the category?
As I see it right now Zenphoto does not consider "un-categorized" as a category. If it did then maybe you would have what you want. That is something that could be added fairly easily. It would also be possible to have subrights similar to those on albums applied to the categories.
having big problems with English, I'm not sure I understand all of the response, nor have explained well what I want to do
`Do you intend for the group to have more than one category they can post to?`
- no, only in one category
what I wish to make:
1- as super-admin, I create a category named "Blog". I must be the only one who can open the "Categories" tab in the admin and modify this category.
2- a user group named "Posteurs" must have access to the "new article" option to post in the "Blog"
3- if possible, only the author of an article (and the super-admin) has the right to modify the article he posted (Closed to any change)
merci
1. Sorry, that is not possible
2. That is by assigning a user or group to that category (and nobody else).
3. Is possible. On the right side in the "Publish" box of articles there is a checkbox named "Locked for changes". If that is set only the author who locked or an full admin can modify the article.
3) seems not to work properly:
if a user "A" publishes an article and check the "Closed for changes", a "B" user (same group) can uncheck this box and / or make changes.
perhaps a bug?
rb
Ok, I think I understand what you want. Having subrights to the news categories similar to what is available for albums would, I think, do what you wish.
I have implemented that in my version of Zenphoto some time ago. You can find it on GitHub.