Skip to content
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

[Web] Respect permissions of the authenticated user #8428

Closed
5 tasks
exalate-issue-sync bot opened this issue Feb 14, 2023 · 0 comments · Fixed by #8431
Closed
5 tasks

[Web] Respect permissions of the authenticated user #8428

exalate-issue-sync bot opened this issue Feb 14, 2023 · 0 comments · Fixed by #8431
Labels

Comments

@exalate-issue-sync
Copy link

Description

User Stories

  • As a user I only want to see the parts of the UI that my permissions allow me to use so that I don't get confused by unusable features.

Value

Acceptance Criteria

  • fetch permissions via ocis settings API and store them in memory in the permission manager
  • respect permissions as defined by the role of the authenticated user. Existing permissions:
    • set-space-quota
    • list-all-spaces
    • create-space
    • account-management
    • group-management
  • double check that there are no checks on the user role in the code anymore: user?.role?.name (or variants without optional chaining)

Definition of ready

[ ] everybody needs to understand the value written in the user story
[ ] acceptance criteria has to be defined
[ ] all dependencies of the user story need to be identified
[ ] feature should be seen from an end user perspective
[ ] user story has to be estimated
[ ] story points need to be less then 20

Definition of done

  • Functional requirements
    [ ] functionality described in the user story works
    [ ] acceptance criteria are fulfilled
  • Quality
    [ ] code review happened
    [ ] CI is green
    [ ] critical code received unit tests by the developer
    [ ] automated tests passed (if automated tests are not available, this test needs to be created and passed
  • Non-functional requirements
    [ ] no sonar cloud issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants