-
Notifications
You must be signed in to change notification settings - Fork 741
Update matrix-auth-plugin docs for v3.2+ syntax #2718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
effd572
67c53c2
a3af5b5
12614a5
d46dbe3
f2d49fd
ef300ac
1833658
9a94154
94a0259
ecdce5d
6447cd8
627244f
39fddd7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||
| # matrix-auth-plugin | ||||
|
|
||||
| Requires `matrix-auth` >= 3.0 | ||||
| Requires `matrix-auth` >= 3.2 | ||||
|
|
||||
| There are a couple of built-in authorizations to consider. | ||||
|
|
||||
|
|
@@ -13,39 +13,56 @@ There are a couple of built-in authorizations to consider. | |||
| jenkins: | ||||
| authorizationStrategy: | ||||
| globalMatrix: | ||||
| permissions: | ||||
| - "USER:Overall/Read:anonymous" | ||||
| - "GROUP:Overall/Administer:authenticated" | ||||
| - "USER:Overall/Administer:admin" | ||||
| entries: | ||||
| - user: | ||||
| name: "admin" | ||||
| permissions: | ||||
| - "Overall/Administer" | ||||
| - user: | ||||
| name: "anonymous" | ||||
| permissions: | ||||
| - "Overall/Read" | ||||
| - group: | ||||
| name: "authenticated" | ||||
| permissions: | ||||
| - "Overall/Read" | ||||
| - "Job/Build" | ||||
| - "Job/Create" | ||||
| ``` | ||||
| Permissions must be defined **per line**, meaning each line must grant permission to only a single role, and only a single user or group of users. | ||||
|
|
||||
|
|
||||
| ## sample-configuration (project based matrix) | ||||
|
|
||||
| ```yaml | ||||
| jenkins: | ||||
|
||||
| @ConfiguredWithReadme("git-client/README.md#2") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a pleasure for me to work on the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you haven't done this
Uh oh!
There was an error while loading. Please reload this page.