-
Notifications
You must be signed in to change notification settings - Fork 0
Additional auth #6
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
base: master
Are you sure you want to change the base?
Conversation
GreTimotej
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GregorVolcanjk, ce bos imel cas prosim uredi se komentarje
web/Controllers/ItemController.cs
Outdated
|
|
||
| // GET: Item/Edit/5 | ||
| [Authorize] | ||
| [Authorize(Roles = "Administrator, Manager")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Staff lahko tudi edita item. Lahko se je zmotil pri vnosu
| } | ||
|
|
||
| // GET: Customer/Create | ||
| [Authorize(Roles = "Administrator")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manager lahko doda nove stranke
| } | ||
|
|
||
| // GET: Customer/Delete/5 | ||
| [Authorize(Roles = "Administrator")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manager lahko odstrani stranke
| } | ||
|
|
||
| // GET: Distributor/Delete/5 | ||
| [Authorize(Roles = "Administrator")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manager sodeluje z dobavitelji
No description provided.