1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-25 00:49:35 +00:00

Provide workspace for role.isDeactivated

This commit is contained in:
Bram Wiepjes 2024-04-10 14:06:09 +02:00
parent e6810e5287
commit c434fda4a4

View file

@ -11,7 +11,7 @@ export default (client, $hasFeature, $registry) => {
showIsBillable: role.showIsBillable(workspace.id),
isBillable: role.getIsBillable(workspace.id),
isVisible: role.isVisible(workspace.id),
isDeactivated: role.isDeactivated(),
isDeactivated: role.isDeactivated(workspace.id),
allowed_scope_types: ['workspace'],
allowed_subject_types: ['auth.User'],
}
@ -21,7 +21,7 @@ export default (client, $hasFeature, $registry) => {
showIsBillable: role.showIsBillable(workspace.id),
isBillable: role.getIsBillable(workspace.id),
isVisible: role.isVisible(workspace.id),
isDeactivated: role.isDeactivated(),
isDeactivated: role.isDeactivated(workspace.id),
}
),
}