Almost usable admin panel
This commit is contained in:
@@ -205,6 +205,10 @@ class DatabaseInterface(ABC):
|
||||
async def get_organization_users(self, org_id: str) -> list[tuple[User, str]]:
|
||||
"""Get all users in an organization with their roles."""
|
||||
|
||||
@abstractmethod
|
||||
async def get_roles_by_organization(self, org_id: str) -> list[Role]:
|
||||
"""List roles belonging to an organization."""
|
||||
|
||||
@abstractmethod
|
||||
async def get_user_role_in_organization(
|
||||
self, user_uuid: UUID, org_id: str
|
||||
|
||||
Reference in New Issue
Block a user