Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unavailable features should be ... well, unavailable #416

joho1968 opened this issue Aug 21, 2019 · 1 comment


Copy link

commented Aug 21, 2019

Having created a few users with different privilege levels, it would be nice if OWA would hide functionality that isn't available to the privilege level of the currently logged in user.

For example, under "Reporting" (Sites Roster), there's an "Add new" link which doesn't work for a user that only has "View" privileges, nor does the "Goals" and "Delete" links.

The "Administration" button at the top of the page is another "unreachable" option.


This comment has been minimized.

Copy link

commented Aug 31, 2019

There is a facility for this in templates.

<?php if ($this->getCurrentUser()->isCapable(‘some_priviledge’, $currentSiteId ) ) { ... } ?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.