Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 3

...

This is a simple example of using the runFromProjectList and getProjectPermissionList actions together to get a list of all Stash project permissions. This can be used to more easily track and administer all project permissions across Stash. For more complex environment, you may want to automate this and commit the resulting csv resulting csv file into a repository for tracking or audit purposes. The data can also be easily published to Confluence using the CCLI to provide some self service problem determination for users having permission problems.

...

No Format
titleExample output
"Project","Group","User","Permission"
"EXPERIMENT","","automation","PROJECT_ADMIN",
"ZCLI","","automation","PROJECT_ADMIN",
"ZSCLIP","","automation","PROJECT_ADMIN",
"ZSTASHCLI","group1","","PROJECT_WRITE",
"ZSTASHCLI","","automation","PROJECT_ADMIN",
"ZSTASHCLI","","user1","PROJECT_ADMIN",
"ZSTASHCLI","","user2","PROJECT_READ",
"ZSTASHCLI","","user3","PROJECT_READ",
"ZSTASHCLI2","","automation","PROJECT_ADMIN",

Confluence page

 Image Added