Skip to content

Commit 1c3798c

Browse files
committed
add legacy add user for sys admin
1 parent 775efce commit 1c3798c

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

controllers/grid/settings/user/UserGridHandler.php

+17
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,23 @@ public function initialize($request, $args = null)
9292
// Basic grid configuration.
9393
$this->setTitle('grid.user.currentUsers');
9494

95+
// Grid actions.
96+
$router = $request->getRouter();
97+
98+
$this->addAction(
99+
new LinkAction(
100+
'addUser',
101+
new AjaxModal(
102+
$router->url($request, null, null, 'addUser', null, null),
103+
__('grid.user.add'),
104+
'modal_add_user',
105+
true
106+
),
107+
__('grid.user.add'),
108+
'add_user'
109+
)
110+
);
111+
95112
//
96113
// Grid columns.
97114
//

locale/en/invitation.po

+2
Original file line numberDiff line numberDiff line change
@@ -376,4 +376,6 @@ msgstr "The user is currently disabled."
376376
msgid "userInvitation.user.disableMessage"
377377
msgstr "The user was disabled. You cannot assign them a role while they are disabled. Please enable the user first to invite them to a role."
378378

379+
msgid "acceptInvitation.privacyConsent"
380+
msgstr "Privacy Consent"
379381

0 commit comments

Comments
 (0)