Repository navigation
Closed
Labels
priority: highHigh prioritystatus: in progressCurrently being worked ontype flag: metaGeneric issue that will spawn more specific issuestype: maintenanceRelated to general repository maintenanceworkload: daysLikely takes days to resolve
Milestone
Description
This issue is being created to cumulate all the subsequent pending issues with access control feature enhancement with the intent to track them all together. New issues, if required must be tagged under this.
Here are the intended flows of access control from the user and application perspective.
Client Application setup and superuser flow
User resource interaction flow
Based on the above flows, the following tasks are pending in order to complete the feature requirements for access control implementation.
- Implement default client for default permissions - Currently default permissions are handled at a hardcoded base path. However, this should be made configurable.
- Enable super user configuration - A super user configuration needs to be supplied as a part of the existing access control configuration (listed under security definitions). Using this, a superuser/admin access can be created for all endpoints of the client application (including the permission endpoints)
- Permission endpoints need to be protected - Currently permission endpoints are open and not decorated. Once the superuser/admin config is in place, we can enable the cabin authorization for these too.
- Document client-specific user stories and supply pet-store examples for the same - For handling resource permission management, clients need to write their endpoint logic. For example, in case a user has access to create (POST) a resource, the latter should automatically have permission to update (PUT/PATCH) and delete (DELETE) resources in addition to fetching (GET) resources. This sort of user story needs to be documented so that onboarding applications can handle the logic for permission creation on their end.
- Configurable identifiers for permissions - Low priority issue, but we need to provide a way to configure the identifiers used for storing permissions.
Metadata
Metadata
Assignees
Labels
priority: highHigh prioritystatus: in progressCurrently being worked ontype flag: metaGeneric issue that will spawn more specific issuestype: maintenanceRelated to general repository maintenanceworkload: daysLikely takes days to resolve
Type
Projects
- StatusShow more project fieldsDone


Activity
uniqueg commentedon Dec 2, 2023
Maybe you could turn this into a task list issue linking to the other access control-related issues, @kushagra189?
See https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists
uniqueg commentedon Oct 18, 2026
Closing this meta issue: config-driven access control enforcement, resource-scoped roles, a secured permissions API, group/role claims and the corresponding docs and example landed in #259, #261, #263, #269 and #271. The remaining items are tracked in their own issues and planned for v0.14.0: #142 (configurable identifiers), #112 (users checking their own permissions) and #113 (pagination).