Application administration
-
- UpdatedAug 1, 2024
- 4 minutes to read
- Xanadu
- Building applications
Protect sensitive application data by using application administration to restrict how users acquire application-specific roles.
Functions of application administration
- Prevent unauthorized users from accessing sensitive data such as financial records or personally identifiable information.
- Restrict who can assign application-specific roles such as the administrator and designated developers for the application.
- Prevent users with the system-level admin role from:
- Assigning themselves a protected application role.
- Assigning themselves to a group containing a protected application role.
- Bypassing existing access controls to a protected application by creating access controls.
- Changing the password of users who have a protected application role.
- Impersonating a user who has a protected application role, unless the developer or administrator also has that role.
- Inheriting a protected application role.
- Overriding existing access controls to a protected application.
- Running scripts that access protected application records.
Roles in application administration
Role name | Description |
---|---|
Application-specific admin | Users with this role can assign other users to an application-specific role for that application. For example, you can create a role named my_application.admin. It should include the name of the restricted application, with a suffix of "admin" to indicate that it is the admin role for the application. |
Application-specific developer | Users with this role can access the restricted application. For example, you can
create a role named my_application.developer. It should include the name of the restricted
application, with a suffix of "developer" to indicate that it is the developer role for the
application. The developer role needs both application administrator and delegated
development permissions to modify the application files. To learn more, see Delegated development and deployment and Delegate development and deployment permissions to personnel. |
Application-specific admin role
- Configure form and list layouts.
- Change application tables and fields.
- Assign the application-specific admin role to new users.
- Do not assign the system-level admin role to the user. Assign only the application-specific admin role.
- Have the user assign themselves the application-specific developer role.
As an application-specific developer, the user can perform a subset of administrative tasks without having the system-level admin role.
Enabling application administration and assigning application-specific roles
- If you enable application administration for an application but do not assign the application-specific roles, no user can access the application.
- If you assign only one application-specific role, you cannot delete that role.
A warning appears if you enable application administration for an application, but no users have the application-specific admin role required to assign roles for the application. The warning reminds you to assign the application-specific roles for administrators and developers of the application.
- If you specify an invalid value for the property, the default requirement for assigning at least one application-specific admin is enforced.
- If you specify a valid value for the property, you can't delete any application-specific admins unless you exceed the specified value. For example, if you specify a value of two and you have three application-specific admins, you can delete only one of those roles.
- You can specify a value higher than the actual number of assigned application-specific admins. However, you can't delete any application-specific admins until you exceed the specified value. For example, if you specify a value of six, but have only three application-specific admins, you can't delete any of those roles.
For procedures, see Restrict access to an application.
Deploying applications with application administration
You must have the system-level admin role in both your developer and production instances to deploy an application protected by application administration. The process is outlined in the following steps.
- Develop the application on a development instance.
- Create the application-specific admin role.
- Grant the application-specific admin role to all system-level admin users.
- Update the application record to enable application administration and restrict access to the application.
- Publish the application to the application repository.
- From a production instance, install the application from the application repository.
- As a system-level admin on the production instance, grant the application-specific admin role to the appropriate users.
- Remove the application-specific admin role from all users with the system-level admin role.
For procedures to enable application administration and restrict the assignment of application-specific roles, see Restrict access to an application.
Training
The ServiceNow® Developer Site has training for Securing Applications.
On this page
Related Content
- Delegated development and deployment
Delegated development allows designated users without a system admin role to develop or deploy applications on the ServiceNow AI Platform.