mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(FastAPI): add CRED_PKGBASE_MERGE
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
889c5b1e21
commit
33b18907eb
1 changed files with 2 additions and 0 deletions
|
@ -268,6 +268,7 @@ CRED_PKGREQ_LIST = 18
|
||||||
CRED_TU_ADD_VOTE = 19
|
CRED_TU_ADD_VOTE = 19
|
||||||
CRED_TU_LIST_VOTES = 20
|
CRED_TU_LIST_VOTES = 20
|
||||||
CRED_TU_VOTE = 21
|
CRED_TU_VOTE = 21
|
||||||
|
CRED_PKGBASE_MERGE = 29
|
||||||
|
|
||||||
|
|
||||||
def has_any(user, *account_types):
|
def has_any(user, *account_types):
|
||||||
|
@ -321,6 +322,7 @@ cred_filters = {
|
||||||
CRED_TU_LIST_VOTES: trusted_user,
|
CRED_TU_LIST_VOTES: trusted_user,
|
||||||
CRED_TU_VOTE: trusted_user,
|
CRED_TU_VOTE: trusted_user,
|
||||||
CRED_ACCOUNT_EDIT_DEV: developer,
|
CRED_ACCOUNT_EDIT_DEV: developer,
|
||||||
|
CRED_PKGBASE_MERGE: trusted_user_or_dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue