pachctl auth check repo
pachctl auth check repo #
Check the permissions a user has on a repo
Synopsis #
This command checks the permissions a given subject (user, pipeline, robot) has on a given repo. If the subject is not specified, the subject is the currently logged-in user is issuing the command.
pachctl auth check repo <repo> [<user>] [flags]
Examples #
pachctl auth check repo foo user:alan.watts@domain.com pachctl auth check repo foo user:alan.watts@domain.com --project bar pachctl auth check repo foo robot:my-robot
Options #
-h, --help help for repo
--project string Define the project containing the repo. (default "video-to-frame-traces-test")
Options inherited from parent commands #
--no-color Turn off colors.
--rpc-timeout duration If non-zero, perform all client operations with this RPC deadline.
-v, --verbose Output verbose logs.
SEE ALSO #
- pachctl auth check - Check whether a subject has a permission on a resource