?
avatar andrepereiradasilva
andrepereiradasilva
5 Nov 2016

Steps to reproduce the issue

As talked in #12069 there are some otimization that can be done in the ACL system

  • Review ACL in installation files
  • When creating new item don't hardcode the parent ACL rules. It should be empty {} if no permissions are set. ACL system should inherits from parent so we should not hardcode the parent rules in the child.
  • The ACL between installation, saving an item editing an item should be consistent.

System information (as much as possible)

Latest staging

Additional comments

Some relevant parts of the ACL system:

As discussed, @sanderpotjer please review if this is what is needed.

avatar andrepereiradasilva andrepereiradasilva - open - 5 Nov 2016
avatar joomla-cms-bot joomla-cms-bot - change - 5 Nov 2016
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - edited - 5 Nov 2016
avatar brianteeman brianteeman - change - 5 Nov 2016
Category ACL
avatar sanderpotjer
sanderpotjer - comment - 13 Nov 2016

@andrepereiradasilva thanks, it indeed is a summary of what is needed. The only thing I would add is that only the actions relevant to the item are being stored in the database once just one of the actions is set for an item. So make sure the core.admin, core.options and core.manage are not stored when setting one of the actions for a category for example, as these actions only apply to the component section, not the category.

avatar andrepereiradasilva
andrepereiradasilva - comment - 13 Nov 2016

ok so for what i see, we need at leaset the following PR:
1. Review installation ACL sql
2. Review save permissions trough AJAX
3. Review save permissions when creating an item.

Also i noticed languages and ucm content create a strange ACL name with the db table name. IMHO that should be reviewed too in another PR (4.).

I am working on 2. and, if i have time, will try to work on 3. after.

avatar ggppdk
ggppdk - comment - 13 Nov 2016

Please do ping me when you make PR that changes core ACL stuff, like JAccess class and AJAX saving

avatar andrepereiradasilva
andrepereiradasilva - comment - 13 Nov 2016

sure thanks!

avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Status New Confirmed
avatar mbabker
mbabker - comment - 25 May 2017

What from this issue does #14268 not cover?

avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Nov 2017
Status Confirmed Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Nov 2017

If this Issue get no Response, it will be closed at 26th December 2017.

avatar joomla-cms-bot joomla-cms-bot - change - 26 Dec 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 26 Dec 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Dec 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-12-26 06:49:15
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 26 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Dec 2017

Closed as stated above.


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

Add a Comment

Login with GitHub to post a comment