User tests: Successful: Unsuccessful:
This is very much a work in progress and I am posting it here so that better coders can help me improve upon it and also to hopefully make it work reliably.
For 7 years Joomla has had an option to see fine grain acl permission reports when you enable Debug in the global configuration. As this is incredibly useful and so many people never even knew it existed this has now been enabled by default in Joomla 3.7
Now that we can see these fine grained acl details wouldnt it be useful to be able to go directly to a specific permission from this page and make any changes. I think it would be so I started to look at the code.
So far I have only looked at the advanced permissions report for groups. If this works well it can be expanded to users as well.
I have analysed the type of link required to go directly to the permissions tab and with the help of some jquery from @dgt41 that he wrote for another joomla module I believe I have got the basics done.
The links do not always work. I think this is related to the way we have the tab state saved in local storage. This is what the jquery script attempts to workaround but it looks like it needs some more work
In theory the first edit link above will go directly to
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_users |
Labels |
Added:
?
|
Category | Administration com_users | ⇒ | Administration com_users JavaScript |
Category | Administration com_users JavaScript | ⇒ | Administration com_users |
closing until i have time to work on it
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-23 22:16:56 |
Closed_By | ⇒ | brianteeman |
Putting this on hold for now until #14959 is fixed as that bug is giving completely incorrect data to this view making any further use of this view useless (or misleading)