feat: права и инвайты
This commit is contained in:
@@ -7,6 +7,9 @@ __all__ = (
|
||||
'WorkspaceUserStatus',
|
||||
'WorkspaceUserPermission',
|
||||
'WorkspaceUserPermissionScope',
|
||||
'WorkspacePermissions',
|
||||
'WorkspacePermissionContext',
|
||||
'build_workspace_permission_context',
|
||||
'PermissionKey',
|
||||
'PermissionScopeType',
|
||||
'Channel',
|
||||
@@ -34,6 +37,9 @@ __all__ = (
|
||||
'UserNotFound',
|
||||
'WorkspaceNotFound',
|
||||
'WorkspaceAccessDenied',
|
||||
'WorkspaceInviteNotFound',
|
||||
'WorkspaceInviteAlreadyExists',
|
||||
'WorkspaceMemberAlreadyExists',
|
||||
'LoginTokenNotFound',
|
||||
'LoginTokenExpired',
|
||||
'LoginTokenAlreadyUsed',
|
||||
@@ -46,6 +52,7 @@ __all__ = (
|
||||
'CreativeNotFound',
|
||||
'CreativeInUse',
|
||||
'PlacementNotFound',
|
||||
'UserByUsernameNotFound',
|
||||
)
|
||||
|
||||
from .channel import Channel, ChannelVerificationStatus
|
||||
@@ -63,8 +70,12 @@ from .error import (
|
||||
ProjectNotFound,
|
||||
PurchasePlanChannelNotFound,
|
||||
PurchasePlanNotFound,
|
||||
UserByUsernameNotFound,
|
||||
UserNotFound,
|
||||
WorkspaceAccessDenied,
|
||||
WorkspaceInviteAlreadyExists,
|
||||
WorkspaceInviteNotFound,
|
||||
WorkspaceMemberAlreadyExists,
|
||||
WorkspaceNotFound,
|
||||
)
|
||||
from .login_token import LoginToken
|
||||
@@ -91,3 +102,8 @@ from .workspace import (
|
||||
WorkspaceUserPermissionScope,
|
||||
WorkspaceUserStatus,
|
||||
)
|
||||
from .workspace_permissions import (
|
||||
WorkspacePermissionContext,
|
||||
WorkspacePermissions,
|
||||
build_workspace_permission_context,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user