kriasoft / kriasoft/graphql-starter-kit

Add the flexibility of multiple roles

Open
#349 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4k
Forks
552
PR merge metrics
No merged PRs in 30d

Description

I have code that creates roles, and users can have multiple roles. It also checks if they have the administrator role, rather than using a flag on the user row.
If this is useful to add to the template, let me know and I can add it through a PR.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the current user-role model and administrator check in the template, then review the proposed multiple-role behavior; done means the intended role representation and authorization behavior are agreed and covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, postgresql, typescript
Domain
api, authorization, backend
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.