?
avatar carlitorweb
carlitorweb
8 May 2018

Steps to reproduce the issue

  • Create 2 categories, as for example, CAT1 and CAT2.
  • Create a user, as for example USER1, can enter and make login in the admin section, and enter to the com_content. (For this, you can go to global config and put the group Registered with the Administrator Login permission allowed. Then, go to the the config of com_content, and put the group Author with the Access Administration Interface permission and Edit Own allowed. Then, assign the user to the group Author. Note that only these permission settings should be set in both groups)
  • Then go to the permissions for CAT1 and put the group Author can Create and Edit Own. After saving, the user will can create and edit his own articles in this category.
  • Then go to CAT2 and put the group Author can Create. After saving, then the user can only create articles in this category.

After having this, USER1 will can create his own articles inside CAT1, and when he finished, can "send" the article to CAT2.

Expected result

The user will have the option to "send" the article to CAT2.

Actual result

The CAT2 category does not show inside the list of category available for this user when editing the article.

System information (as much as possible)

3.8.7

Additional comments

If you go to administrator\components\com_categories\models\fields\categoryedit.php on line 277 you will see there is a check, where the user need have core.edit.state access for the CAT2 can show up inside the list of available categories for this user when editing the article. But even, if you put this access inside the CAT2, still no show. You need put this access inside the config of com_content for the CAT2 can show up.

I think a user having core.create access for CAT2 it is a sufficient requirement so that the user can have this category listed, within the categories available for creating an article, and in this way, "send" the article to CAT2.

avatar carlitorweb carlitorweb - open - 8 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 8 May 2018
Category ACL com_content
avatar franz-wohlkoenig franz-wohlkoenig - change - 8 May 2018
Status New Discussion
avatar carlitorweb carlitorweb - change - 8 May 2018
The description was changed
avatar carlitorweb carlitorweb - edited - 8 May 2018
avatar Quy Quy - change - 8 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-08 19:52:19
Closed_By Quy
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2018
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 8 May 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 8 May 2018

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/20317

avatar Quy
Quy - comment - 8 May 2018

Closing per PR #20318


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20317.

avatar carlitorweb
carlitorweb - comment - 8 May 2018

@Quy Not sure if the PR I did, is the right way for this (can have B/C break). That is why I open this issue first.

Add a Comment

Login with GitHub to post a comment