Organisation admins can now promote/demote members/admins
This commit is contained in:
@@ -126,10 +126,23 @@ return [
|
||||
],
|
||||
'MEMBER' => [
|
||||
'NOT_FOUND' => 'User <strong>{{user_name}}</strong> is not a member of organisation <strong>{{name}}</strong>',
|
||||
'NOT_AN_ADMIN' => 'User <strong>{{user_name}}</strong> is not an administrator of organisation <strong>{{name}}</strong>',
|
||||
'ALREADY_AN_ADMIN' => 'User <strong>{{user_name}}</strong> is already an administrator of organisation <strong>{{name}}</strong>',
|
||||
|
||||
'REMOVE' => 'Remove member from organisation',
|
||||
'REMOVE_CONFIRM' => 'Are you sure you want to remove member <strong>{{user_name}}</strong> from the organisation <strong>{{name}}</strong>?',
|
||||
'REMOVE_YES' => 'Yes, remove member',
|
||||
'REMOVE_SUCCESSFUL' => 'Successfully removed member <strong>{{user_name}}</strong> from organisation <strong>{{name}}</strong>',
|
||||
|
||||
'PROMOTE_CONFIRM' => 'Are you sure you wish to promote member <strong>{{user_name}}</strong> to be an administrator of organisation <strong>{{name}}</strong>?',
|
||||
'PROMOTE_CONFIRM_EXTRA' => 'Once promoted they will be able to manage members and agents (edit, accept, reject, remove) on the organisation\'s behalf.',
|
||||
'PROMOTE_YES' => 'Yes, promote member',
|
||||
'PROMOTE_SUCCESSFUL' => 'Successfully promoted member <strong>{{user_name}}</strong> to an administrator of organisation <strong>{{name}}</strong>',
|
||||
|
||||
'DEMOTE_CONFIRM' => 'Are you sure you wish to demote administrator <strong>{{user_name}}</strong> from being an administrator of organisation <strong>{{name}}</strong>?',
|
||||
'DEMOTE_CONFIRM_EXTRA' => 'Once demoted they will no longer be able to manage members and agents on the organisation\'s behalf.',
|
||||
'DEMOTE_YES' => 'Yes, demote administrator',
|
||||
'DEMOTE_SUCCESSFUL' => 'Successfully demoted administrator <strong>{{user_name}}</strong> from being an administrator of organisation <strong>{{name}}</strong>',
|
||||
],
|
||||
],
|
||||
|
||||
@@ -137,7 +150,13 @@ return [
|
||||
1 => 'Member',
|
||||
2 => 'Members',
|
||||
|
||||
'REMOVE' => 'Remove member',
|
||||
'REMOVE' => 'Remove member',
|
||||
|
||||
'PROMOTE' => 'Promote to administrator',
|
||||
'DEMOTE' => 'Demote to member',
|
||||
|
||||
'EDIT' => 'Edit member',
|
||||
'CHANGE_PASSWORD' => 'Change member password',
|
||||
],
|
||||
|
||||
'ADMIN' => [
|
||||
|
||||
Reference in New Issue
Block a user