Skip to content

Commit

Permalink
add user access table
Browse files Browse the repository at this point in the history
  • Loading branch information
ipula committed Nov 18, 2024
1 parent f24b10d commit 555d9e2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions js/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ import ListPanel from '@/components/ListPanel/ListPanel.vue';

// Manager components
import UserInvitationManager from '@/managers/UserInvitationManager/UserInvitationManager.vue';
import UserAccessManager from '@/managers/UserAccessManager/UserAccessManager.vue';

// Helper for initializing and tracking Vue controllers
import VueRegistry from './classes/VueRegistry.js';
Expand Down Expand Up @@ -221,6 +222,8 @@ VueRegistry.registerComponent('PkpListPanel', ListPanel);

// Register Invitation Manager
VueRegistry.registerComponent('UserInvitationManager', UserInvitationManager);
// Register User Access Manager
VueRegistry.registerComponent('UserAccessManager', UserAccessManager);

const pinia = createPinia();

Expand Down
8 changes: 8 additions & 0 deletions locale/en/userAccess.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
msgid "userAccess.tableHeader.startDate"
msgstr "Start Date"

msgid "userAccess.tableHeader.name"
msgstr "Name"

msgid "userAccess.search"
msgstr "Search User"
3 changes: 1 addition & 2 deletions templates/management/accessUsers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@
{* Help Link *}
{help file="users-and-roles" class="pkp_help_tab"}

{capture assign=usersUrl}{url router=PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.settings.user.UserGridHandler" op="fetchGrid" oldUserId=$oldUserId escape=false}{/capture}
{load_url_in_div id="userGridContainer" url=$usersUrl}
<user-access-manager></user-access-manager>

0 comments on commit 555d9e2

Please sign in to comment.