mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 14:01:45 +02:00
fix: member roles with value (#3494)
This commit is contained in:
committed by
GitHub
parent
6358ca646c
commit
2bff848ada
@@ -7,9 +7,9 @@ from plane.ee.models import PageUser
|
||||
from plane.payment.flags.flag import FeatureFlag
|
||||
|
||||
# Permission Mappings for workspace members
|
||||
ADMIN = ROLE.ADMIN
|
||||
MEMBER = ROLE.MEMBER
|
||||
GUEST = ROLE.GUEST
|
||||
ADMIN = ROLE.ADMIN.value
|
||||
MEMBER = ROLE.MEMBER.value
|
||||
GUEST = ROLE.GUEST.value
|
||||
|
||||
# Permission Mappings for page users
|
||||
VIEW = PageUser.AccessLevel.VIEW
|
||||
|
||||
Reference in New Issue
Block a user