Skip to content

bug: unable to provide custom model config for access control #181

Closed

Description

@alohamora

I am unable to provide a custom model config to foca because there is a condition in foca to only read the custom model config if API specs for access control APIs is provided.

if access_control_config.api_specs is None:
spec_path = str(resource_filename(
ACCESS_CONTROL_BASE_PATH, DEFAULT_API_SPEC_PATH
))
else:
spec_path = access_control_config.api_specs

So, if I just want to provide a custom model config without providing a custom set of permission APIs, I am unable to do so.

Activity

  1. uniqueg commented on Nov 7, 2023

    @uniqueg
    Member

    Thanks for reporting 👍

    Do you wanna fix it? :)

  2. self-assigned this
    on Nov 13, 2023
  3. moved this to Todo access control in FOCA releaseon Dec 2, 2023
  4. moved this from Todo access control to Todo other in FOCA releaseon Dec 2, 2023
  5. moved this from Todo other to In Progress in FOCA releaseon Dec 2, 2023
  6. added
    priority: high
    type: bug
    workload: hours
    on Dec 2, 2023
  7. modified the milestones: v1.0.0, v0.13.0 on Dec 2, 2023
  8. moved this from In Progress to Done in FOCA releaseon Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: hightype: bugworkload: hours

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions