Skip to content

[backend/frontend] Allow test injects for no admin roles #3056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: release/current
Choose a base branch
from

Conversation

savacano28
Copy link
Contributor

@savacano28 savacano28 commented Apr 28, 2025

Proposed changes

Backend

  • Remove profil Admin for the test actions
  • Separate endpoints for testing considering a PLANNER profile

Frontend

  • Update calls

Related issues

Testing

  • Logger with a user non admin try to test an inject
  • Logger with a user non admin but planner and try test an inject
  • Logger with an admin profil and test

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality
  • For bug fix -> I implemented a test that covers the bug

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@savacano28 savacano28 changed the base branch from master to release/current April 28, 2025 07:07
@savacano28 savacano28 self-assigned this May 2, 2025
@savacano28 savacano28 added the filigran team use to identify PR from the Filigran team label May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non admin user can't test emails
1 participant