@extends('layouts.user') @section('title', 'Role Management') @section('content')

Role Management

Switch between your assigned roles and manage your access permissions

Current Role
@if($currentRole)

{{ $currentRole->display_name }}

{{ $currentRole->description }}

ACTIVE
Role Type {{ $currentRole->name }}
Access Level {{ $currentRole->id === 1 ? 'Primary' : 'Secondary' }}
@else
No Active Role

Please select a role from the available roles

@endif
Available Roles ({{ $availableRoles->count() }})
@if($availableRoles->count() > 0)
@foreach($availableRoles as $role)
{{ $role->display_name }}

{{ $role->description }}

@if(!$currentRole || $currentRole->id !== $role->id) @else Active @endif
@endforeach
@else
No Roles Assigned

Please contact administrator to assign roles

@endif
About Roles

Roles determine your access level and permissions within the India Taekwondo Portal. You can switch between your assigned roles at any time.

Role Switching

When you switch roles, your dashboard and available features will update automatically to match your selected role's permissions and capabilities.

Secure Access

Each role has specific permissions and access controls to ensure data security and maintain proper workflow within the system.

@endsection @push('scripts') @endpush