D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
simple_rpc
/
Filename :
permissions.py
back
Copy
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)}