Skip to content

feat: optional authorisation without groups #78

Closed
1 of 1 issue completed
Closed

Description

@uniqueg

Some deployments use OIDC providers without group entitlements (e.g. LS Login), so tesk-api's group-based authorisation can't be used there. An option to authorise without group membership would cover them. Proposed earlier in #14 (2020), which no longer applies to the code base.

Design points:

  • Who may create tasks when the option is on (any authenticated user, or a configurable claim), made explicit in the configuration and docs.
  • Admins keep their view of all tasks (getLabelSelector must not fall back to the user-ID selector for admins).
  • Default off; documented in the configuration reference with its security implications.

Acceptance criteria

  • An opt-in setting enables authorisation without group membership, with the policy above decided and documented.
  • Admins can still list all tasks with the setting on.
  • Tests cover the setting on and off, for users and admins.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues
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

    type: feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions