Hello.
I was wondering if it is possible to hide the account_prefs_page (or the whole account_page.php) for everyone with a lower access level than MANAGER.
We are using Mantis 1.2.17.
Hide "account_prefs_page.php"-page
Moderators: Developer, Contributor
Re: Hide "account_prefs_page.php"-page
There is no global configuration option for it.
What you can do is to set individual users to "protected" (typically done for anonymous accounts).
After that they will get "Access denied" error when trying to access the page.
What you can do is to set individual users to "protected" (typically done for anonymous accounts).
After that they will get "Access denied" error when trying to access the page.
Re: Hide "account_prefs_page.php"-page
I tried to set a few accounts to "protocted" but after that they're not able to login again (APPLICATION ERROR #12). Is there an other way to set this access restriction?atrol wrote:There is no global configuration option for it.
What you can do is to set individual users to "protected" (typically done for anonymous accounts).
After that they will get "Access denied" error when trying to access the page.
Re: Hide "account_prefs_page.php"-page
I tried a protected user on version 1.2.19 without getting any problem to login.bncnbrue wrote: I tried to set a few accounts to "protocted" but after that they're not able to login again (APPLICATION ERROR #12)
I have no time to check if your problem could be caused by using the outdated 1.2.17 version.
Independent from that, I recommend to upgrade to 1.2.19.
-
- Posts: 5
- Joined: 07 Mar 2016, 19:56
Re: Hide "account_prefs_page.php"-page
You could hide it using html_api.php placing a condition in the menu print function that handles that part, if the user has the access level then you print the info.