-
I was wondering if the Paste team has any opinions on hiding components vs disabling them depending on a user's access? For example, if your role in console doesn't give you access to a certain functionality, should we hide the component all together or disable it with a tooltip or enable it and allow the user to click on it and then throw an error message? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @pguptaDS My first initial thought for this would be that it is largely going to be a decision you make based on testing. I don't necessarily believe there is a one size fits all approach. Given that is it based on access or privilege rights, a user may never get to use those controls, so if you hide them they will continue to live out a peaceful and blissfully ignorant life never knowing those controls exist. Equally, if they do some day get to play with them, or it's an important task, knowledge of their existence might be useful. Consider a "super important critical task", it might be useful in a specific context to know that an action can be taken, regardless of my inability to do so, as I can use that information to escalate it to an appropriate person who can and needs to take action, especially if it's time sensitive. So test it and let us know what you find. Some concrete advice I can give is:
Happy testing! 🎉 |
Beta Was this translation helpful? Give feedback.
Hi @pguptaDS
My first initial thought for this would be that it is largely going to be a decision you make based on testing. I don't necessarily believe there is a one size fits all approach.
Given that is it based on access or privilege rights, a user may never get to use those controls, so if you hide them they will continue to live out a peaceful and blissfully ignorant life never knowing those controls exist.
Equally, if they do some day get to play with them, or it's an important task, knowledge of their existence might be useful. Consider a "super important critical task", it might be useful in a specific context to know that an action can be taken, regardless of my inability to do …