Skip to content

Commit

Permalink
[Backport 5.0] batches: add settings for org level batch changes admin (
Browse files Browse the repository at this point in the history
#52656)

Part 1 #50447

This PR adds a new settings field for org admins to specify if all
members of the Org are Batch Changes admin. With this, org-members who
are not site administrators can execute/apply/run batch changes in the
org namespace.

Backport ce79296 from #50604

Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and BolajiOlajide committed May 31, 2023
1 parent 00d83fe commit 8ae3a98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schema/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions schema/settings.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,14 @@
"type": "string"
},
"default": {}
},
"orgs.allMembersBatchChangesAdmin": {
"description": "Enables/Disables org-level admin access for Batch Changes to all members of an org",
"type": "boolean",
"default": false,
"!go": {
"pointer": true
}
}
},
"definitions": {
Expand Down

0 comments on commit 8ae3a98

Please sign in to comment.