2

We have an internal line of business app with a navigation menu at the top. Some users need access to the invoicing sections, others need access to forecasting sections, and admin users need access to both sections and admin pages.

Based on a user's rights is it better to hide menu items, show but disable menu items, or enable the menu items but show an access denied page when clicked?

Is there some another option?

2 Answers 2

9

Usually if a menu (or any interactive ui element) can never be enabled by the user it should be hidden. Otherwise, you create a hunting behavior where the user is trying to figure out how the menu could be enabled.

The best approach would be to hide all menus that the user does not have access to.

2
  • but what if it can be enabled if the user requests access? How can a user request access to functionality if they don't know it's there?
    – Homer
    Sep 11, 2013 at 14:39
  • 3
    @Homer Access should be matched to business role. If they need it to do their job, enable it. Otherwise hide it. If they find they need it to do their job, they will ask. "Hey, I can't find how to do X which I need to do!" Sep 11, 2013 at 14:45
0

If an UI control, like a button, represents an action which is only available for users with certain permissions, the control is encouraged to reflect the lack of permissions to execute this action. Options are:

  • change nothing in the UI and give a feedback after the user has clicked on the control (in form of a dialog or a warning label being displayed) -> causes the user to do one unnecessary click
  • disable the UI of the control -> it's unclear why the button is disabled which is frustrating which can be fixed by displaying a tooltip text after the mouse rests still over the component for a time (might never happen if the user is impatient) or adding information why the button is disabled to the text of the control (e.g. "Save (only admins are allowed to save)") or next to it (e.g. "Save" for the button and a link label next to it reading "Want to become an admin?")
  • don't show the button -> might lead to confusion for a user who has different permissions than another user and sees the changed interface by accident - and then lead to unnecessary questions in forums, Q&As and other networks in the form of ("Why is my friend seeing this button and not me? Is it new? Do I have a virus? etc.")

Disabling the control provides the most consistent and helpful feedback for fine grained user permissions. It gives a good overview over the functions of the platform which one might be eager to acchieve (especially if it's a meritocracy-driven reputation-based one). If there're a lot of controls the hint why the control is deactivated and what one needs to do to gain the associated permissions should be formulated more abstract and can refer to the next level permissions or refer to an overview of permissions.

In some situations it's fine to hide the controls in genereal, e.g. for actions which require admin permissions which require the user to be an expert of the system anyway. The UI for admins can thus be much more stuffed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.