-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Describe the bug
We need to be able to have a server side filter with id=not_1|not_2.
Example: on RolePage, when we are on roles tab, and click on attach role button → inside the table in the dialog, we do not want to show the current role nor the SUPER_ADMINISTRATOR role.
Inside AttachAccessControlToAnotherDialog.vue
/**
* Load roles and invoke the appropriate method from RoleService based on the entity value.
* @returns {object} Object that contains role filters.
*/
async function loadRoles() {
if (targetAccessControlType.value === 'role') {
return RoleService.find({
id: `not_${superAdministratorId.value}`, // here add |not_${accessControl.value.id}
...getFilters(),
});
}
...
}Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working
Type
Projects
Status
🔖 Ready