Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /interactions /python /session_based_access_control /DeepselSystems_deepsel-cms.json
| { | |
| "interaction_sequence": { | |
| "available": true, | |
| "language": "python", | |
| "repo": "DeepselSystems_deepsel-cms", | |
| "reason": "", | |
| "entryRole": "Authorisation enforcer", | |
| "entryRule": "code-root", | |
| "interactions": [ | |
| { | |
| "order": 1, | |
| "interaction": "Authorisation enforcer → Authentication enforcer", | |
| "from": "Authorisation enforcer", | |
| "to": "Authentication enforcer", | |
| "file": "backend/apps/cms/routers/revision.py", | |
| "line": 27, | |
| "via": [], | |
| "mechanism": "dependency-injection", | |
| "path": [ | |
| { | |
| "caller": "backend/apps/cms/routers/revision.py:<module>.restore_content_revision", | |
| "file": "backend/apps/cms/routers/revision.py", | |
| "line": 27, | |
| "code": "", | |
| "callee": "backend/apps/core/utils/get_current_user.py:<module>.get_current_user", | |
| "mechanism": "dependency-injection" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 2, | |
| "interaction": "Authentication enforcer → Verifier", | |
| "from": "Authentication enforcer", | |
| "to": "Verifier", | |
| "file": "backend/apps/core/utils/get_current_user.py", | |
| "line": 86, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "backend/apps/core/utils/get_current_user.py:<module>.get_current_user", | |
| "file": "backend/apps/core/utils/get_current_user.py", | |
| "line": 86, | |
| "code": "_resolve_user_from_session(request, db)", | |
| "callee": "backend/apps/core/utils/get_current_user.py:<module>._resolve_user_from_session", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Authorisation enforcer → Authentication enforcer" | |
| }, | |
| { | |
| "order": 3, | |
| "interaction": "Verifier → Session manager", | |
| "from": "Verifier", | |
| "to": "Session manager", | |
| "file": "backend/apps/core/utils/get_current_user.py", | |
| "line": 41, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "backend/apps/core/utils/get_current_user.py:<module>._resolve_user_from_session", | |
| "file": "backend/apps/core/utils/get_current_user.py", | |
| "line": 41, | |
| "code": "session_store.get(session_id)", | |
| "callee": "__builtin.getattr.<returnValue>.get", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Authentication enforcer → Verifier" | |
| }, | |
| { | |
| "order": 4, | |
| "interaction": "Authorisation enforcer → Decider", | |
| "from": "Authorisation enforcer", | |
| "to": "Decider", | |
| "file": "backend/apps/cms/routers/revision.py", | |
| "line": 59, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "backend/apps/cms/routers/revision.py:<module>.restore_content_revision", | |
| "file": "backend/apps/cms/routers/revision.py", | |
| "line": 59, | |
| "code": "content._check_has_permission(PermissionAction.write, user)", | |
| "callee": "Session.query.<returnValue>.filter.first._check_has_permission", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| } | |
| ], | |
| "anchoredRoles": [ | |
| { | |
| "role": "Authentication enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Authorisation enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Decider", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Policy provider", | |
| "kind": "LOCAL" | |
| }, | |
| { | |
| "role": "Session manager", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Verifier", | |
| "kind": "METHOD" | |
| } | |
| ], | |
| "skippedRoles": [ | |
| "Subject", | |
| "System" | |
| ] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 3.85 kB
- Xet hash:
- 8ef5cea6966f7009b43ffd32d66e7ecc93e5fc7d555dc98f93959d9e38813f61
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.