?
avatar micker
micker
11 Dec 2014

Steps to reproduce the issue

joomla 3.4 beta2
test 1
1 one groupe X in editor group
2 editing module in front work

test 2
1 one groupe X in editor group
2 disable editing module for group X
3 allow editing group X for specific module
2 editing module for this specific module in front doesn't work

test 3
1 one groupe X in editor group
2 disable editing group X for specific module
3 disable editing module in front work

test 4
1 one groupe X in registred group
2 editing module in front disable ok
3 allow group X to editing specific module doesn't work

Expected result

i don't understand why i can't create a user group and allow editing module specificly in heritage mode :

->disable editing for all module ->actived for specific module

Sorry for my bad english

Actual result

System information (as much as possible)

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar micker micker - open - 11 Dec 2014
avatar Hackwar
Hackwar - comment - 11 Dec 2014

If you are explicitely disableing an action in a parent group, you can not enable it again in a child group. That is how the system works and how it is documented. This is not a bug.

avatar micker
micker - comment - 11 Dec 2014

Ok but i try to create a group without heritage and allow editing only specific specific module... that doesnt work
Do have an idea how to create a rules for a group that can't edit all module and can edit some specific without disable editing one by one
sorry it will be difficult to explain with my poor english

avatar micker
micker - comment - 11 Dec 2014

image of my test
generic rules for module
rules-modules
specific rules for basic custom module
rules-specific-module
=> doesn't work !
if i do invert rules it works that strange not ?
imagine you want to allow editing for 2 modules (you have 20 modules) you need to edit 20 modules to acheive this ...

avatar brianteeman
brianteeman - comment - 3 Jan 2015

@sanderpotjer could you check this please


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5397.
avatar brianteeman brianteeman - change - 3 Jan 2015
Labels Added: ?
avatar micker
micker - comment - 6 Jan 2015

i redo my test
1 create a group
2 disable module edition for this group
3 activaved edition module for specific module
=> rule is green but doesn't work

1 create group
2 enable module edition for this group
3 desactived module edition for specific module
=> rule is green and it work ....
but not realy good solution if you have 20 modules and need to create a group how can edit specific module ...

avatar micker
micker - comment - 2 Feb 2015

update to 3.4 beta 1 same issue with front-end editing rule
for groupe allow editing in spcific module doesn't work if parent not allowed
=> module button editing appear but we can't edit
default module ACL
screen shot 2015-02-02 at 12 47 38
specific module acl
screen shot 2015-02-02 at 12 45 17

some idea ?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5397.
avatar micker
micker - comment - 4 Feb 2015

on beta2 display is better =>
screen shot 2015-02-04 at 00 43 38
but we can't do this
denied editing all module for group and allow editing for specific module
can you coinfirm that is normal ? (not realy powerfull)


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5397.
avatar micker micker - change - 4 Feb 2015
The description was changed
avatar micker
micker - comment - 4 Feb 2015
avatar micker
micker - comment - 4 Feb 2015

cge for inherite ... ACL seems to be ok in backend
but front-end say that user can't edit module
screen shot 2015-02-04 at 02 18 15screen shot 2015-02-04 at 02 18 16


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5397.
avatar micker
micker - comment - 5 Feb 2015

nobody to check this ?

avatar sanderpotjer
sanderpotjer - comment - 5 Feb 2015

I'm happy to look into this, but won't have time for it before this weekend.

avatar micker
micker - comment - 5 Feb 2015

ok no problem if you need a site for test i can send you my access

avatar micker
micker - comment - 11 Feb 2015

hello friendly bump
tested on beta 3 => same error


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5397.
avatar micker
micker - comment - 16 Feb 2015

firendly bump


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5397.
avatar micker
micker - comment - 17 Feb 2015

test on rc error still alive


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5397.
avatar mbabker
mbabker - comment - 17 Feb 2015

denied editing all module for group and allow editing for specific module
can you coinfirm that is normal ? (not realy powerfull)

This is normal given the current ACL system. Once you explicitly set an option, a child object cannot override it. So if you explicitly set deny on the component level for a group to edit modules, any child groups of that group will not be able to edit nor will you be able to allow access to a specific module in this manner.

To accomplish what I think you're suggesting, here is what I did in a testing environment:

1) Create a new group and set the Group Parent as Public (by default, public permissions are all set to inherit so there are no hard defines set yet)
2) If you want the group to be able to edit modules in the backend, in the Global Configuration you'll need to give this group "Admin Login" permission. If you want the group to be able to edit modules in the frontend, in the Global Configuration you'll need to give this group "Site Login" permission. Do not change any other values.
3) In the Module Manager, if you want users in the group to be able to edit modules in the backend, you'll need to give the user "Access Administration Interface" permission. If you want them to be able to edit all modules from the frontend, you'll need to give them "Frontend Editing" permission. Do not change any other value.
4) In the module(s) you want this group to be able to edit, give them "Edit" permission. You should also set "Frontend Editing" if you want to allow users to edit modules on the frontend.
5) Depending on the types of permissions you've given the group, you may need to add your group to the "Registered" or "Special" viewing access groups so they see all of the correct info.
6) You should now have a user group which is able to edit only the specific modules you want them to.

avatar micker
micker - comment - 18 Feb 2015

Hello thanks for explain but if you read my last test inherit doesnt work...
If i use inherit in module config (not allow) and after allow on specific module
Display say that ls ok un autorisation
In front editing icon is display but impossible to édit....
If i do same config in category that work
Inherit in module rule doesnt work
I van send you a link for testing

avatar Bakual
Bakual - comment - 18 Feb 2015

@micker See the merged PR #6113 Michael did yesterday. I think that's exactly the issue you describe and which should be fixed with current staging (not yet fixed in RC).

avatar micker
micker - comment - 18 Feb 2015

ok i switch on pr #6113 for testing patch thanks

avatar zero-24
zero-24 - comment - 20 Feb 2015

@micker as #6113 is merged can we close the issue here?

avatar zero-24
zero-24 - comment - 8 May 2015

Closing as we have a merged PR (#6113). If we have still issues please open a new issue that describes the current behavior with the patch. Thanks :+1:

avatar zero-24 zero-24 - change - 8 May 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-05-08 22:21:07
Closed_By zero-24
avatar zero-24 zero-24 - close - 8 May 2015

Add a Comment

Login with GitHub to post a comment