pagure/dist-git: allow user to change their watch status via the API
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
9988126185
commit
527bf3a995
1 changed files with 2 additions and 0 deletions
|
@ -269,6 +269,7 @@ USER_ACLS = [
|
||||||
'pull_request_flag',
|
'pull_request_flag',
|
||||||
'pull_request_merge',
|
'pull_request_merge',
|
||||||
'modify_project',
|
'modify_project',
|
||||||
|
'update_watch_status',
|
||||||
]
|
]
|
||||||
|
|
||||||
CROSS_PROJECT_ACLS = [
|
CROSS_PROJECT_ACLS = [
|
||||||
|
@ -276,6 +277,7 @@ CROSS_PROJECT_ACLS = [
|
||||||
'modify_project',
|
'modify_project',
|
||||||
'pull_request_create',
|
'pull_request_create',
|
||||||
'pull_request_comment',
|
'pull_request_comment',
|
||||||
|
'update_watch_status',
|
||||||
]
|
]
|
||||||
|
|
||||||
ADMIN_API_ACLS = [
|
ADMIN_API_ACLS = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue