Grant permissions
Grant an application user the permissions it needs, then grant developers RunAsUser to act under its identity.
How to set up a user's permissions?
Before anyone can use an application user's identity, the application user must hold the right permissions. What those permissions are depends entirely on why the application user was created and what the people using it will need to do.
These steps are not specific to application users. The same process applies when granting permissions to any user in DataOS.
How to grant RunAsUser to a user?
Once the application user has the right permissions in place, the Operator grants the Run As User use-case to anyone who needs to act under that identity. This allows them to set runAsUser in a manifest and act under the application user's identity.
The grant is made on the application user's profile, not the grantee's. The Operator specifies the grantee's user ID as the subject of the grant.
Once granted, the grantee sets runAsUser to the application user's ID in their manifest:
spec:
runAsUser: dpdeveloperThe resource runs under the application user's identity and inherits its permissions, without any user needing individual grants.
How to revoke RunAsUser from a user?
To revoke a previously granted Run As User permission, the Operator follows these steps:
After revocation, any resource that uses
runAsUserwith that user's ID will fail at runtime.
Last updated
Was this helpful?









