dreamteamprod / dreamteamprod/DigiScript

Front end RBAC logic should be backend API calls

Open
#621 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
19
Forks
4
Avg merge
2d 12h
Merged PRs (30d)
37

Description

Currently, there is front end logic in place to check certain RBAC mappings to show/hide elements of the UI and other control flow behaviour.

This is probably not the ideal implementation, and instead the logic should be handled by making a call to the backend to check the permissions of the user instead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing front-end RBAC mappings and the related backend permission entry point; neither is named in the issue. Done means the UI visibility and control-flow permission checks are handled through backend API calls, with the existing behavior preserved.

Written by the indexing model from the issue text.

Assessment

Domain
api, authorization, backend, frontend
Issue type
Refactor
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.