I have a custom scenario where users should not be able to edit their Personalization Settings after their initial setup. This is working as expected using a custom security role that does not provide write access to the User Settings entity. Users will be able to view their Personalization Settings but will not have the ability to save any changes.
However, these users would still like to be able to set their Default Dashboard from the ribbon bar in Dynamics (shown below).
My understanding is that this requires the write access to the User Settings entity so this would be impossible without that privilege.
Does anyone know if its possible to enable this feature but still prevent access to Personalization Settings? As an alternative would it be possible to edit the ribbon to hide the Personalization Settings button under certain conditions or would there still be ways for the users to get into and edit these values from elsewhere in the system?
Thanks in advance
Thanks for the confirmation that the form is not editable, and also the idea with the plugin. I may give that a shot and see if it can achieve what we are after. It certainly sounds promising.
Hello,
Thanks for the clarification. Unfortunately, that form is not customizable.
I have an idea you can work with (no guarantee that it'll work though):
1. Create (or define an existing) role that will serve as a marker that the user is allowed to change those fields (I believe that someone anyway will be allowed to change those fields).
2. Develop a plugin that will handle the update of usersettings records that will do the following:
2.1. Check if the fields you want to be not editable are in the context for the update. If no - just leave the execution.
2.2. Query roles of the current user - if role created at the step 1 is not available - throw an exception to stop the save.
This won't look fancy but it should work.
And, obviously, you will have to give all users privileges to edit the usersettings entity.
Hi Andrew,
Thanks for your reply. The write privilege for the User Settings was removed to prevent users from editing the fields on the email tab shown below to meet a business requirement. Is there any other way to lock this one tab in the Personalization Settings window?
Hello,
I'm afraid there is no good way of doing it without massive development. Just curious - what's the problem in giving users privileges to modify their settings?
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156