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

roles - user #115

Closed
8 tasks done
isabel-amon opened this issue Nov 28, 2018 · 5 comments
Closed
8 tasks done

roles - user #115

isabel-amon opened this issue Nov 28, 2018 · 5 comments
Assignees

Comments

@isabel-amon
Copy link

isabel-amon commented Nov 28, 2018

Beschreibung
As a user of the tool I want to only see vms and their details if I an part of them, so that I don't have to worry about other people's things.
I want to be able to log into the tool as well as logout.
I also want to be able to see all profile pages, but only edit my own ssh-key.

(Every HPI-account is a user when it is logged in for the first time)

Akzeptanzkriterien

  • When a new account is logged in, it has the role of a user
  • A user can only see his/her own vms and their corresponding detail-pages
  • A user can see all profile pages
  • Only his/her own ssh-key can be seen and edited

Priorität

Aufwandsschätzung

Tasks

  • add role enum to users model
  • default role enum is set to "user" after first registration to the VM-portal
  • test for the default role
  • filter vms on the vm index page
@skydivin4ng3l
Copy link
Contributor

#99 is blocking the the adaption of the VM index page

@skydivin4ng3l skydivin4ng3l mentioned this issue Dec 6, 2018
5 tasks
@lassesteffen
Copy link
Contributor

Same reason as #110, maybe we should remove the external dependency for both tickets in a new ticket, so we can close those? @isabel-amon What do you think?

@isabel-amon
Copy link
Author

the problem here is the second acceptance criterion, right? In case of this issue I see this functionality as critical for the purpose, so I wouldn't want to take it out...

@lassesteffen
Copy link
Contributor

Still blocked, same reason as in #221

@skydivin4ng3l
Copy link
Contributor

Komplexität?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants