3 ms·
Why is the feature accessible through the UI by users which don't have access to it?
by politician 14y ago
Why is the feature accessible through the UI by users which don't have access to it?
- zimbatm 14y agoGood thinking. I can imagine a scenario where you want the users to be aware of the feature and have the administrator act as a filter gateway. Another scenario is when your application structure is too rigid and hiding the feature would cost much more than adding an error message.
- ams6110 14y agoIt's a trade off. It may be something the user expects to be able to do, but for whatever reason doesn't have permission. In that case it's better to say "You don't have permission to do 'foo', please contact your administrator if this is incorrect." (no need for "Sorry..." either, IMO). Then they know what's going on, instead of just wondering "Where the hell is the 'foo' button..." Or maybe they can use the feature in some situations but not others. For example they can edit some records but only view others. In the second case, having a visible but inoperative "Save" button may be a better user experience than the save button being completely hidden.