Member
Member
RB26   2015-06-08, 14:15
#1

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

Administrator
Administrator
acrylian   2015-06-08, 15:07
#2

You can only assign a category as a managed item to users or a user group which which includes all of its articles. It is not possible to exclude the category itself for editing.

Member
Member
RB26   2015-06-08, 15:09
#3

dommage
thanks
rb

Member
Member
sbillard   2015-06-11, 00:11
#4

Do you intend for the group to have more than one category they can post to? If you assign a managed category to the group this is the only category the group can select. However, they can post without a category.

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.

Member
Member
RB26   2015-06-13, 17:40
#5

@ sbillard thank you for the interest in my question

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

Administrator
Administrator
acrylian   2015-06-13, 18:27
#6

Then I at least did understand correctly.

  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.
Member
Member
RB26   2015-06-15, 17:26
#7

1-2) Ok this is what I understood,
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

Administrator
Administrator
acrylian   2015-06-15, 18:38
#8

Perhaps or as coded since it is the same user group. Have to look.

Member
Member
sbillard   2015-06-23, 02:14
#9

@RB26:

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.