%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/simple_rpc/
Upload File :
Create Path :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/simple_rpc/permissions.py

from defence360agent.contracts.permissions import permissions_list
from defence360agent.rpc_tools.lookup import bind, CommonEndpoints


class PermissionEndpoints(CommonEndpoints):
    @bind("permissions", "list")
    async def permissions_list(self, user=None):
        return {"items": permissions_list(user)}

Zerion Mini Shell 1.0