sjasthi / learnandhelp

Learn and Help: Learn programming and help different causes.
MIT License
0 stars 10 forks source link

Edit - action is missing for the admins #14

Closed sjasthi closed 1 year ago

sjasthi commented 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.