Dan Martinez
Tera Expert

Overview

Over the years I have faced many times the following question "How could we grant a role for a given period of time only?". Given it is a very common question ServiceNow have released this brand new feature as of the Washington release. 

 

Granting time-limited roles

The first thing we must do is go to "All > User Administration > Time-Limited User Roles":

 

menu.png

Once we are there, we can create a new entry:

 

role.png

 

Bear in mind the only OOB roles available are "admin", "snc_read_only" and "impersonate". The documentation doesn't seem to mention this but I found this can be changed in a property called "glide.security.timelimited.roles.allowed_roles". However, the only role that can change this property so far is "maint". With a little bit of luck ServiceNow will let "admins" change it eventually.

 

Also, it must be mentioned that the role will not be added to the tab under the user mentioning which roles this user has given this feature doesn't add a new entry to that table.

 

Other potential usage this can be given

With a simple integration, production instances could integrate with dev and test instances to create entries in this table to grant temporary access to developers or testers if they are not permanent stuff. For instance, if a third-party consultant needs access to perform some investigation or changes in the development instance, this feature could be really useful.

 

Like and share

If this post helped you please remember to lick on "Like" and feel free to share it with anyone who could be interested 👍

 

 

 

7 Comments