LinuxCommandLibrary

odps-auth

odps-auth

TLDR

Add a user to the current project

$ add user [username];
copy


Grant a set of authorities to a user
$ grant [action_list] on [object_type] [object_name] to user [username];
copy


Show authorities of a user
$ show grants for [username];
copy


Create a user role
$ create role [role_name];
copy


Grant a set of authorities to a role
$ grant [action_list] on [object_type] [object_name] to role [role_name];
copy


Describe authorities of a role
$ desc role [role_name];
copy


Grant a role to a user
$ grant [role_name] to [username];
copy

Copied to clipboard