Create a group with permission to logon to admin
Create a category and assign the group the create
Login as the user and filter by the category
Try to create an article
User should be able to create article
User cannot create article
Joomla 3.9.4
The $this->state->get('filter.category_id') is an array and get converted into a int.
So the asset name will always be "com_content.category.1"
Labels |
Added:
?
|
Status | New | ⇒ | Information Required |
I guess the getActions method should check if the ID is array than process the whole array, if it a single value do what it does today.
I just realized that create work as there is "count($user->getAuthorisedCategories('com_content', 'core.create'))" that fixes the issue for create, but I was testing core.edit and core.edit.state that does not work.
Category | ⇒ | ACL com_content |
Labels |
Added:
J3 Issue
|
Title |
|
This is the expected behaviour - you have a user who can create a category nut you have not given them permissio to create an article.
this should be closed
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-23 13:45:30 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
@HLeithner can you please comment?