Time zone field access on user profile in CSM portal

krishna115
Tera Contributor

Hi Experts,

 

I have given access for end users on time zone filed on user profile on CSM portal, that access provided based on the user roles(snc_internal and snc_external). Now all portal users have access to change their time zone if they want it. For example if some specific company users don’t want to see time zone field on user profile, how can I remove access that field on user profile with out creating a custom roles. Is there any way to achieve this with the help of OOB functionalities.

 

krishna115_0-1749726500915.png

 

 

 

Thanks,

Krishna

8 REPLIES 8

GlideFather
Tera Patron

Hi @krishna115 ,
it is a out of the box feature, why would you remove that? it is in the profile and is not doing anything, so why to remove that?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Hi @krishna115,
However, there is this system property where you can achieve it:
glide.timezone_changer.roles

KamilTEL_0-1749727725808.png

it works OOTB based on roles:

KamilTEL_1-1749727954862.png

if you want to do it per company, create a new role, add it to that property and assign it accordingly to the targeted audience

1. Creat a role "time_zone_displayer" (or any other name),
2. Add it to the list of role in the property,
3. Assign it to a Parent group and add child groups according to your need.

 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Hi @GlideFather ,

I have achieved time zone filed visibility for end users with the system property "glide.timezone_changer.roles". we can play with roles for time zone field visible/disable, but my concern is without creating any custom roles, can we disable for specific end/external users. All end users are having "snc_external" role.

For example, there are two company users with the "snc_external" role.

  • First company users wants to change time zone, for that we have enabled that after adding role in system properties. 
  • Second company users don't want time zone field on their profile. So, we need to disable from user profile. how can I disable without creating new role for this users.

@krishna115 
Yes, it is possible.

Imagine - Company A, Company B.

Company A will see the field, Company B will not.

Create a role called "Time zone viewer" (timezone_viewer), and add it to that property. After that everybody with admin, itil and timezone_viewer will see it... so in case that Company A or B have the itil, they will see it... 

Then you will create a group called "Time zone users" (example) and assign the timezone_viewer to it, and then you will add there all the users/groups from the dedicated Company A and not Company B.

If you want to, you can remove the itil role from that property and add the timezone_viewer and then assign it to all the users you would like.

Let me know if this is the solution to your issue and if so, please accept it 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */