Skip to content

Feature enhancement ft. access control  #157

Closed

Description

@kushagra189

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

permissions_flow

User resource interaction flow

User_permission_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.

Activity

  1. added
    priority: critical
    status: in progress
    type flag: meta
    type: maintenance
    workload: days
    on Nov 9, 2022
  2. self-assigned this
    on Nov 9, 2022
  3. moved this to Todo access control in FOCA releaseon Dec 2, 2023
  4. added
    priority: high
    and removed
    priority: critical
    on Dec 2, 2023
  5. uniqueg commented on Dec 2, 2023

    @uniqueg
    Member
  6. added this to the v1.0.0 milestone on Dec 2, 2023
  7. uniqueg commented on Oct 18, 2026

    @uniqueg
    Member

    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).

  8. moved this from Todo access control to Done in FOCA releaseon Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: highstatus: in progresstype flag: metatype: maintenanceworkload: days

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions