Hi team,
After upgrade the joomla to 3.7, the super admin can't access the categories. Only public categories has been displayed.
Ex : Categories name - Content Editor
Access group Name - Content owner
In back end i can't use this categories from super admin.
PHP version : 5.6
Labels |
Added:
?
|
Category | ⇒ | ACL com_categories |
Same problem (or similar). After upgrading to 3.7 I can't add articles to some category. Also categories are not displayed in drop-down filter (but still here in Categories component. As I see in permissions tab - Superuser can manage this categories.
No, There is different type of access level i used. In old version no limitation for super admin. Am i correct...
also have the issue in 3.7.0 in the category selector box.
I think is this line https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_categories/models/fields/categoryedit.php#L189 that causes the issue.
when i deleted that line it worked like it worked in 3.6.5.
maybe that line needs to be inside a if (!$user->authorise('core.admin')) to allow super users to view all.
note: i wrote this also here because i think this is the same issue as the other one #15799
@rajmohanvy Super Users "group" must always be checked in the view access levels see the image in this section of the Joomla ACL tutorial https://docs.joomla.org/J3.x:Access_Control_List_Tutorial#Access_Levels
When someone forgets to check the Super Users group or if someone removed it by mistake it can create unusual access issues (there are atypical reasons to do this, but for everyone else, it should be checked). Always important to double check that all the settings are correctly set to ensure proper ACL function. (I can't count how many times a co-admin unchecked the Super Users group and then was wondering why things were not functioning as expected)
Example of bug:
This change from 3.6.5 to 3.7.0 a7ae028 seem to be the problem
The fact that commit causes the problem indicates a misconfigured viewing access level setup on your site(s), as mentioned above.
I used default Guest acess level of joomla.
To confirm is not my site problem also tried a new joomla 3.7.1 install and it's the same behaviour.
tried again using joomla 3.7.1 default joomla zip install file from https://downloads.joomla.org/latest
also same result
try to explain further.
Categories list: category name "test" assigned to "Guest" acess level
Articles list: there is an article assigned to Guest acess level and super user can edit. But there is no "test" category in the filters - Problem!
Edit article: super user can edit a article with "Guest" acess. But there is no "test" category in the category selector - Problem!
And as a super user when save existent article created by other user assigned to "test" category goes back to "Uncategorized" - Problem!
only happens in 3.7.0 and 3.7.1.
please try ... seems like a bug to me...
Status | New | ⇒ | Confirmed |
any chance a fix for this in 3.7.3?
OK. thanks. hope is interest.
Besides the super user issue. Content writers Losing the categories when editing article because access levelss a real problem for my sites.
Probably people that use several view. acess levels are having this issue too
Please open a new Issue about "Content writers Losing the categories" if neccessary so every issue has only one Topic Dev's has to look on.
@franz-wohlkoenig after some tests discovered the content writers thing was my mistake. sorry.
the only real issue is the one described in this issue and futher explained in #15960 (comment)
I can reproduce the problem as follows:
Adding the user group “Super User” to the access level created in 3. will solve the problem.
But: A Super User always should be able to see all categories in the backend.
This problem is new since 3.7.0. It does not exist in 3.6.5.
It’s a big problem if upgrading a 3.6.5 site to 3.7.2 and if that site has many different access levels. Editing an article means losing the assigned category, unless you add “Super User” to all access levels first.
The 'categoryedit' field is e.g. used here:
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_content/models/forms/article.xml#L45-L46
And it used to be, that it only considered core.create ACL for creating / assigning records to categories
This was done by PR #12931
This is a change in a very long standing behavior,
and also i believe it is wrong change too because
Access levels are for viewing the categories, right ?
they are not a replacement or a complement to "core.create" ACL
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-01 08:17:45 |
Closed_By | ⇒ | Bakual |
Is the super-admin checked in all access groups?