Updating permissions from the ACL permissions form will improperly update the permission saved in the assets table. This only happens when the action name value contains an "_" (underscore). For example:
<action name="avchat3.allow_user_interface" [...]
In the assets table in the rules column, it should be saved as
{"avchat3.allow_user_interface":{"1":0,"2":1} [...]
However, the action name seems to stop at the first encountered "_", additionally adding the second word (after the underline) as the user role ID, so the rules cell looks like:
{"avchat3.allow":{"user":1 [...]
Fresh Joomla 3.5.1 installation running on Apache, PHP 5.6
I can confirm that on Joomla! 3.4.8 everything worked as expected.
Status | New | ⇒ | Information Required |
Hi Brian,
Sorry, I must have missed the issue posted on GitHub.
I updated the permissions.js and permissions.min.js files and the permissions are saved properly.
You can close the issue.
Thank you for your help.
Closed
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-04-27 13:28:39 |
Closed_By | ⇒ | brianteeman |
Is this resolved by #9648 that has already been merged into staging?
On 27 April 2016 at 13:51, Virgil B. notifications@github.com wrote:
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/