? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
27 Mar 2017

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.

Background

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
screenshotr20-20-44

screenshotr20-14-59

Aims

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.

Status

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.

Oustanding issues

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

screenshotr17-44-32

In theory the first edit link above will go directly to

screenshotr20-23-15

a6392d9 27 Mar 2017 avatar brianteeman parts
avatar brianteeman brianteeman - open - 27 Mar 2017
avatar brianteeman brianteeman - change - 27 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Mar 2017
Category Administration com_users
avatar brianteeman brianteeman - change - 27 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 27 Mar 2017
Category Administration com_users Administration com_users JavaScript
5067b81 27 Mar 2017 avatar brianteeman typo
avatar brianteeman
brianteeman - comment - 28 Mar 2017

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)

avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2017
Category Administration com_users JavaScript Administration com_users
avatar brianteeman
brianteeman - comment - 3 May 2017

Removed JS in the hope that when #15748 is merged it wont be needed

avatar dgt41
dgt41 - comment - 3 May 2017

I don't think that #15748 will open tabs if an anchor is present in the url (unless I'm missing something there)

avatar PhilETaylor PhilETaylor - comment - 3 May 2017
avatar brianteeman
brianteeman - comment - 23 May 2017

closing until i have time to work on it

avatar brianteeman brianteeman - change - 23 May 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-05-23 22:16:56
Closed_By brianteeman
avatar brianteeman brianteeman - close - 23 May 2017

Add a Comment

Login with GitHub to post a comment