I've given a user a limited set of permissions. The menu that shows up when clicking on 'Storm' is correct and only gives the links that the user has permission for, but the dashboard has all available icons and only when you click on each one, does it go to an access denied page.
The Dashboard should remove any icons that the user doesn't have permission for.
Cheers,
Stephanie
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | new theme files.zip | 4.46 KB | ssherriff |
| #1 | new theme files.zip | 4.46 KB | ssherriff |
Comments
Comment #1
ssherriff commentedOk, I've attached edited theme.inc files that not only check for a module's existance, but also whether a person has access to that area. I know it would have been better to add this to theme files, etc, but I think this should be in core. I would have done a patch, but for some reason my CVS tool doesn't do patches. I will try to figure out another way of doing a patch, but for now, I've attached the updated files.
If someone else can create a patch, that would be great as well.
Cheers,
Stephanie
Comment #2
ssherriff commentedSorry, new ones attached, I made a mistake on the storm.theme.inc one.
Comment #3
Magnity commentedCommitted, thanks.
(dev from midnight, stable from 1.23)