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

Refactor roles #190

Closed
EwelinaSkrzypacz opened this issue Jul 13, 2022 · 0 comments · Fixed by #353
Closed

Refactor roles #190

EwelinaSkrzypacz opened this issue Jul 13, 2022 · 0 comments · Fixed by #353
Assignees
Labels
backend backend feature frontend frontend feature

Comments

@EwelinaSkrzypacz
Copy link
Member

EwelinaSkrzypacz commented Jul 13, 2022

Roles in our system so far:

  • administrator - he can do anything
  • administrative approver - can do vast majority of actions - he doesn't have access to sections "CV" and "Technologie" - the most important action he can do is request acceptance (or reject or cancel); also he can create requests for other employees,
  • employee - he can see list of his requests (also create requests) and sections "Kalendarz", "Dni wolne", "Podsumowanie roczne", "Klucze","Benefity",
  • technical approver - as employee + he can accept request and he has access to sections "CV" and "Technologie"

For now each of user has one role. For future features we would like to have possibility to assign more that one role to the user.

Changes will be on users view - index, create, edit - a way of choosing roles (for now it's just select menu with only one option to choose) must change - maybe multiselect or checkboxes - I'm open to suggestions.

@EwelinaSkrzypacz EwelinaSkrzypacz added backend backend feature frontend frontend feature labels Jul 13, 2022
@mlencki mlencki self-assigned this Sep 12, 2023
mlencki added a commit that referenced this issue Sep 21, 2023
EwelinaSkrzypacz added a commit that referenced this issue Sep 25, 2023
mlencki added a commit that referenced this issue Sep 25, 2023
* #177 - Delegations

* Linter fixes

* Tests

* #190 - Permissions

* CR fix

* CR fixes

* Tests

* CR fix

* Notification permissions

* #190 - padding fix

* CR fixes

---------

Co-authored-by: EwelinaSkrzypacz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend backend feature frontend frontend feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants