Skip to content

Implement client for default permission endpoints #146

Closed as not planned
Closed as not planned

Description

@kushagra189

Currently, we have kept the default permission endpoints as fixed paths. Instead, we should probably focus on adding a client for the default API, and for that, we know the routes. Users might still be able to reuse that client if they host a /permissions API at the expected base path (if all they are doing is modifying the behavior of the default endpoints). And if they wanna add a completely different API, then they would also need to implement the client along with it.
Hence, we need to implement a client for the default permission endpoints, which then can be used in the controller logic of a FOCA app.

Activity

  1. self-assigned this
    on Oct 1, 2022
  2. added
    priority: critical
    type: feature
    type: maintenance
    workload: days
    on Oct 1, 2022
  3. uniqueg commented on Oct 3, 2022

    @uniqueg
    Member

    Just to note that the default client should be passed the base path of course, i.e., everything before /permissions

  4. reopened this on Oct 3, 2022
  5. kushagra189 commented on Nov 9, 2022

    @kushagra189
    ContributorAuthor
  6. moved this to Todo access control in FOCA releaseon Dec 2, 2023
  7. added
    priority: high
    and removed
    priority: critical
    on Dec 2, 2023
  8. added
    priority: medium
    and removed
    priority: high
    on Dec 2, 2023
  9. added this to the v1.0.0 milestone on Dec 2, 2023
  10. uniqueg commented on Oct 17, 2026

    @uniqueg
    Member

    Closing as superseded: since #259, apps set up and manage permissions in-process through the access control helpers (e.g. add_resource_role()) rather than through a client for the permission endpoints. If a remote client is still needed, please reopen with a concrete use case.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featuretype: maintenanceworkload: days

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions