Added the permissions toggle functionality and added grant and revoke stubs for controller.
Commented out the grant/revoke stubs from the Ajax controller.