mirror of
https://github.com/cgsmith/yii2-user.git
synced 2026-02-04 00:02:37 -06:00
RBAC and social controller
This commit is contained in:
@@ -190,4 +190,161 @@ return [
|
||||
'Add uppercase letters.' => 'Add uppercase letters.',
|
||||
'Add numbers.' => 'Add numbers.',
|
||||
'Add special characters.' => 'Add special characters.',
|
||||
|
||||
// Session History
|
||||
'Session History' => 'Session History',
|
||||
'Sessions' => 'Sessions',
|
||||
'Active Sessions' => 'Active Sessions',
|
||||
'Your active sessions are listed below. You can terminate any session you don\'t recognize.' => 'Your active sessions are listed below. You can terminate any session you don\'t recognize.',
|
||||
'Current Session' => 'Current Session',
|
||||
'Device' => 'Device',
|
||||
'IP Address' => 'IP Address',
|
||||
'Last Activity' => 'Last Activity',
|
||||
'Started' => 'Started',
|
||||
'Terminate' => 'Terminate',
|
||||
'Terminate All Other Sessions' => 'Terminate All Other Sessions',
|
||||
'Are you sure you want to terminate this session?' => 'Are you sure you want to terminate this session?',
|
||||
'Are you sure you want to terminate all other sessions?' => 'Are you sure you want to terminate all other sessions?',
|
||||
'Session has been terminated.' => 'Session has been terminated.',
|
||||
'All other sessions have been terminated.' => 'All other sessions have been terminated.',
|
||||
'Failed to terminate session.' => 'Failed to terminate session.',
|
||||
'Failed to terminate sessions.' => 'Failed to terminate sessions.',
|
||||
'No other active sessions.' => 'No other active sessions.',
|
||||
'Unknown Device' => 'Unknown Device',
|
||||
|
||||
// GDPR Consent
|
||||
'Privacy Consent' => 'Privacy Consent',
|
||||
'Consent Required' => 'Consent Required',
|
||||
'We need your consent to continue.' => 'We need your consent to continue.',
|
||||
'I agree to the privacy policy' => 'I agree to the privacy policy',
|
||||
'I agree to receive marketing communications (optional)' => 'I agree to receive marketing communications (optional)',
|
||||
'Read the privacy policy' => 'Read the privacy policy',
|
||||
'You must agree to the privacy policy to continue.' => 'You must agree to the privacy policy to continue.',
|
||||
'Thank you for providing your consent.' => 'Thank you for providing your consent.',
|
||||
'Please review our updated privacy policy.' => 'Please review our updated privacy policy.',
|
||||
'Submit' => 'Submit',
|
||||
|
||||
// CAPTCHA
|
||||
'CAPTCHA' => 'CAPTCHA',
|
||||
'Verification Code' => 'Verification Code',
|
||||
'Please complete the CAPTCHA verification.' => 'Please complete the CAPTCHA verification.',
|
||||
'Invalid CAPTCHA verification.' => 'Invalid CAPTCHA verification.',
|
||||
'The verification code is incorrect.' => 'The verification code is incorrect.',
|
||||
|
||||
// Two-Factor Authentication
|
||||
'Two-Factor Authentication' => 'Two-Factor Authentication',
|
||||
'Two-Factor Verification' => 'Two-Factor Verification',
|
||||
'Enable Two-Factor Authentication' => 'Enable Two-Factor Authentication',
|
||||
'Disable Two-Factor Authentication' => 'Disable Two-Factor Authentication',
|
||||
'Two-factor authentication adds an extra layer of security to your account.' => 'Two-factor authentication adds an extra layer of security to your account.',
|
||||
'Scan the QR code with your authenticator app, then enter the code below.' => 'Scan the QR code with your authenticator app, then enter the code below.',
|
||||
'Enter the code from your authenticator app.' => 'Enter the code from your authenticator app.',
|
||||
'Authentication Code' => 'Authentication Code',
|
||||
'Verify Code' => 'Verify Code',
|
||||
'Verify' => 'Verify',
|
||||
'Enable' => 'Enable',
|
||||
'Disable' => 'Disable',
|
||||
'Enabled' => 'Enabled',
|
||||
'Disabled' => 'Disabled',
|
||||
'Invalid verification code.' => 'Invalid verification code.',
|
||||
'Two-factor authentication has been enabled.' => 'Two-factor authentication has been enabled.',
|
||||
'Two-factor authentication has been disabled.' => 'Two-factor authentication has been disabled.',
|
||||
'Failed to enable two-factor authentication.' => 'Failed to enable two-factor authentication.',
|
||||
'Failed to disable two-factor authentication.' => 'Failed to disable two-factor authentication.',
|
||||
'Backup Codes' => 'Backup Codes',
|
||||
'Regenerate Backup Codes' => 'Regenerate Backup Codes',
|
||||
'Your backup codes are listed below. Each code can only be used once.' => 'Your backup codes are listed below. Each code can only be used once.',
|
||||
'Store these codes in a safe place. You can use them to access your account if you lose your authenticator device.' => 'Store these codes in a safe place. You can use them to access your account if you lose your authenticator device.',
|
||||
'New backup codes have been generated.' => 'New backup codes have been generated.',
|
||||
'Use a backup code' => 'Use a backup code',
|
||||
'Use authenticator code' => 'Use authenticator code',
|
||||
'Two-factor authentication is required for your account.' => 'Two-factor authentication is required for your account.',
|
||||
'Set up two-factor authentication' => 'Set up two-factor authentication',
|
||||
'You cannot log in without a valid authenticator code.' => 'You cannot log in without a valid authenticator code.',
|
||||
"Can't use your authenticator app?" => "Can't use your authenticator app?",
|
||||
'Back to login' => 'Back to login',
|
||||
'If you can\'t access your authenticator app, enter one of your backup codes.' => 'If you can\'t access your authenticator app, enter one of your backup codes.',
|
||||
'Secret Key' => 'Secret Key',
|
||||
'If you cannot scan the QR code, enter this key manually in your authenticator app:' => 'If you cannot scan the QR code, enter this key manually in your authenticator app:',
|
||||
|
||||
// Social Authentication
|
||||
'Social Networks' => 'Social Networks',
|
||||
'Connected Networks' => 'Connected Networks',
|
||||
'Connect Social Account' => 'Connect Social Account',
|
||||
'Disconnect' => 'Disconnect',
|
||||
'Connect' => 'Connect',
|
||||
'Connected' => 'Connected',
|
||||
'Not connected' => 'Not connected',
|
||||
'No social accounts connected.' => 'No social accounts connected.',
|
||||
'Social account has been connected.' => 'Social account has been connected.',
|
||||
'Social account has been disconnected.' => 'Social account has been disconnected.',
|
||||
'Failed to connect social account.' => 'Failed to connect social account.',
|
||||
'Failed to disconnect social account.' => 'Failed to disconnect social account.',
|
||||
'This social account is already connected to another user.' => 'This social account is already connected to another user.',
|
||||
'Sign in with {provider}' => 'Sign in with {provider}',
|
||||
'Connect {provider}' => 'Connect {provider}',
|
||||
'Connect your social accounts to enable quick sign in.' => 'Connect your social accounts to enable quick sign in.',
|
||||
'Complete Registration' => 'Complete Registration',
|
||||
'Please complete your registration.' => 'Please complete your registration.',
|
||||
'Social registration is disabled.' => 'Social registration is disabled.',
|
||||
|
||||
// RBAC Management
|
||||
'RBAC Management' => 'RBAC Management',
|
||||
'Roles' => 'Roles',
|
||||
'Permissions' => 'Permissions',
|
||||
'Manage Roles' => 'Manage Roles',
|
||||
'Manage Permissions' => 'Manage Permissions',
|
||||
'Create Role' => 'Create Role',
|
||||
'Update Role' => 'Update Role',
|
||||
'Create Permission' => 'Create Permission',
|
||||
'Update Permission' => 'Update Permission',
|
||||
'Role' => 'Role',
|
||||
'Permission' => 'Permission',
|
||||
'Description' => 'Description',
|
||||
'Child Roles' => 'Child Roles',
|
||||
'No roles have been created yet.' => 'No roles have been created yet.',
|
||||
'No permissions have been created yet.' => 'No permissions have been created yet.',
|
||||
'Role has been created.' => 'Role has been created.',
|
||||
'Role has been updated.' => 'Role has been updated.',
|
||||
'Role has been deleted.' => 'Role has been deleted.',
|
||||
'Permission has been created.' => 'Permission has been created.',
|
||||
'Permission has been updated.' => 'Permission has been updated.',
|
||||
'Permission has been deleted.' => 'Permission has been deleted.',
|
||||
'Failed to delete role.' => 'Failed to delete role.',
|
||||
'Failed to delete permission.' => 'Failed to delete permission.',
|
||||
'Are you sure you want to delete this role?' => 'Are you sure you want to delete this role?',
|
||||
'Are you sure you want to delete this permission?' => 'Are you sure you want to delete this permission?',
|
||||
'Role not found.' => 'Role not found.',
|
||||
'Permission not found.' => 'Permission not found.',
|
||||
'A role with this name already exists.' => 'A role with this name already exists.',
|
||||
'A permission with this name already exists.' => 'A permission with this name already exists.',
|
||||
'Name can only contain letters, numbers, underscores, and hyphens.' => 'Name can only contain letters, numbers, underscores, and hyphens.',
|
||||
'Name can only contain letters, numbers, underscores, hyphens, and dots.' => 'Name can only contain letters, numbers, underscores, hyphens, and dots.',
|
||||
'Permission names can contain letters, numbers, underscores, hyphens, and dots.' => 'Permission names can contain letters, numbers, underscores, hyphens, and dots.',
|
||||
'This role will inherit all permissions from selected child roles.' => 'This role will inherit all permissions from selected child roles.',
|
||||
'You are not allowed to manage RBAC.' => 'You are not allowed to manage RBAC.',
|
||||
'Edit' => 'Edit',
|
||||
'Actions' => 'Actions',
|
||||
|
||||
// Role Assignments
|
||||
'Assignments' => 'Assignments',
|
||||
'Assigned Roles' => 'Assigned Roles',
|
||||
'Update Assignments' => 'Update Assignments',
|
||||
'Role assignments have been updated.' => 'Role assignments have been updated.',
|
||||
'Failed to update role assignments.' => 'Failed to update role assignments.',
|
||||
'Select the roles you want to assign to this user.' => 'Select the roles you want to assign to this user.',
|
||||
'No roles available.' => 'No roles available.',
|
||||
'You can assign multiple roles or permissions to user by using the form below' => 'You can assign multiple roles or permissions to user by using the form below',
|
||||
'RBAC is not configured. Configure authManager in your application to use this feature.' => 'RBAC is not configured. Configure authManager in your application to use this feature.',
|
||||
'Create roles' => 'Create roles',
|
||||
|
||||
// Admin Password Reset
|
||||
'Resend Password' => 'Resend Password',
|
||||
'New password has been generated and sent to user.' => 'New password has been generated and sent to user.',
|
||||
'An error occurred while generating the password.' => 'An error occurred while generating the password.',
|
||||
'An error occurred while deleting the user.' => 'An error occurred while deleting the user.',
|
||||
'An error occurred while blocking the user.' => 'An error occurred while blocking the user.',
|
||||
'An error occurred while unblocking the user.' => 'An error occurred while unblocking the user.',
|
||||
'An error occurred while confirming the user.' => 'An error occurred while confirming the user.',
|
||||
'Profile has been updated.' => 'Profile has been updated.',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user