In TonaBank, the Manage Role and Permission system provides the Super Admin with full control over user access across the platform. This system ensures that staff members only have access to the features they need, improving both security and efficiency. By setting up roles and assigning permissions, the Super Admin can organize staff responsibilities and maintain a smooth workflow within the application.

  • Role Creation :
    Super Admin can create unlimited custom roles.
    Each role can be tailored for specific teams or tasks.
  • Assign Actions to Roles :
    Super Admin selects which actions (permissions) a role can access.
    Permissions can cover areas like viewing, creating, editing, or deleting resources.
  • Update Roles :
    Roles and their permissions can be updated or modified at any time.
    Changes apply immediately to all staff assigned to the role.
  • Staff Management :
    Create staff accounts with name, username, email, and password.
    Assign a predefined role to each staff account.
    Staff receive login details through email.
  • Dashboard Access Requirement :
    Every role must include the ‘access dashboard’ permission.
    Without this, staff will encounter a 403 error after login, as the system redirects them to the dashboard first.
  • Staff Access Based on Role :
    Staff can only access the areas and actions defined by their assigned role.
    This keeps staff focused on their responsibilities and prevents unauthorized access.
  • Super Admin Impersonation :
    Super Admin can log in as any staff account with a different role.
    Useful for testing permissions or assisting staff members.

The Manage Role and Permission feature in TonaBank is a powerful access control system that allows the Super Admin to define exactly who can do what within the platform. By creating roles, assigning permissions, and managing staff access, the Super Admin ensures a secure, organized, and efficient working environment. This system not only strengthens security but also improves productivity by giving each team member the precise tools they need.