Closed sjasthi closed 1 year ago
Admins can see several capabilities under "Administration".
This button is visible only if the users login as "admin".
Pro-hack: You can register as a normal user. Then go to phpMyAdmin to change the role to "admin". Then login to see the "Administration" button.
http://localhost/learnandhelp/administration.php shows all the capabilities currently available.
"Admins" can see "books", "users" and "registrations". But none of these are editable. So, we need to add "Edit" action in each row next to "Delete".
"Registrations" has "Edit" action. However, upon editing, the control must go to the "registrations" list.
Admins can see several capabilities under "Administration".
This button is visible only if the users login as "admin".
Pro-hack: You can register as a normal user. Then go to phpMyAdmin to change the role to "admin". Then login to see the "Administration" button.
http://localhost/learnandhelp/administration.php shows all the capabilities currently available.
"Admins" can see "books", "users" and "registrations". But none of these are editable. So, we need to add "Edit" action in each row next to "Delete".
"Registrations" has "Edit" action. However, upon editing, the control must go to the "registrations" list.