garusis / marint_web

MI's Frontend project
0 stars 0 forks source link

#94 Add role protection to buttons and actions using has-role directive #95

Closed diegoarmandoparada closed 7 years ago

diegoarmandoparada commented 7 years ago

Test Instructions

  1. Login with a account that has role Instructor.

  2. Go to menu Cursos and you can look a button named "Crear Curso". When you click in this button then it open a window modal where you can create a new course.

  3. If you want to edit one course go to menu Cursos and choose one course and click over his name. Then it will redirect you to page of details of course where you can edit any detail. Click over name, description or price and and the texts will become editable. Then you can changes any detail and when you finished all changes you must click in the button Guardar.

  4. If you aren't logged or your user not have role of Instructor then you can't create or edit any course