CSCfi / CSCfi/rems

Rethink owner role

Open
#2,151 1 comment 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

Owner can do almost everything, but not quite (e.g. audit-log api is only for reporter). Some ideas:

- write logic in the `:roles` handler that allows owner to do anything. Then we wouldn't need to mention `:owner` ever in `:roles`
- consider creating another role, `:admin` for example, that can only access admin APIs

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the `:roles` handler and the audit-log API access rules mentioned in the issue. The issue presents alternatives rather than a decided scope, so completion would first require an agreed role model and clear authorization behavior for owners, reporters, and any admin role.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.