elixir-cloud-aai / foca

Opinionated Flask microservice archetype for quick OpenAPI-based microservice development
Apache License 2.0
16 stars 11 forks source link

Implement configurable identifiers for access control #142

Open kushagra189 opened 2 years ago

kushagra189 commented 2 years ago

Access control uses the default function generate_id for creating identifiers for new objects. We need to support configurable parameters for the same. Currently, we are using the default support that foca provides. We need to add parameters as a part of AccessControlConfig in order to give user more accessibility.

uniqueg commented 2 years ago

Updated the priority: app devs probably don't care too much what the permission resources are called like, and actual users will likely never have to see/deal with them. And IF app devs really want to enforce other naming for the resources (when using the default API and controllers), they can do so via the PUT /permissions/{id} endpoint.

kushagra189 commented 2 years ago

157