Looking for inputs on when to leverage USERADMIN vs SECURITYADMIN, As per documentation SECURITYADMIN inherits privileges of USERADMIN
What is the right approach in leveraging these two roles for User, Role and Grants management. I am using as below
USERADMIN - Used for the following
- CREATE USERS or DROP USERS
- CREATE ROLES or DROP ROLES
SECURITYADMIN - Used for the following
- GRANT/REVOKE Privileges to ROLES
- GRANT/REVOKE imported privileges on share databases to ROLES
Question is, who should be performing the following. Is it USERADMIN or SECURITYADMIN? If both these roles can technically perform, is there any standard guidance on this.
- GRANT ROLES TO another ROLES
- GRANT ROLES to USERS
Thank you.