kishor10d/Admin-Panel-User-Management-using-CodeIgniter

Restrict login if role is deactivate and type is regular user.

Closed this issue · 0 comments

Currently, we have feature to deactivate the role from the system. Even if the role is deactivated, still user can login and have the same access which are given to that particular role. We need to restrict the user to logged in into the system if the role assigned to the user is deactivated.

Version will upgraded from 1.5 to 1.6 after this issue completion.

  • Restrict the user login if role is deactivated.
  • If the user type is "Super Administrator" then do not restrict the login for such user.
  • Give proper message if login is restricted due to role deactivation.
  • Show some type of flag/colour in case of new user creation with deactivated role.