Skip to content

Show harddisk and database quota dashlet only when user has access

We currently show empty tables when a user has no access to the 'sites' module.

I'm adding a generic function verify_module_permissions that returns a boolean, it's a simplification of the check_module_permissions function, which reuses this new function.

I'm open to suggestions as to improve this code a bit more...

Merge request reports