Remove current workspace member from role assignment picker (#10482)

## Context
Removing the ability to assign yourself from the UI. The backend already
checks that. This is because a member can only have one role for the V1
of permissions
Took the opportunity to move some roles related components in dedicated
folders
This commit is contained in:
Weiko
2025-02-25 17:43:57 +01:00
committed by GitHub
parent 90a390ee33
commit 2331176c53
16 changed files with 42 additions and 36 deletions

View File

@ -14,7 +14,7 @@ export const RecordTableEmptyStateReadOnly = () => {
return (
<RecordTableEmptyStateDisplay
title={t`No records found`}
subTitle={t`You are not allowed to create records in this object`}
subTitle={t`You are not allowed to create records for this object`}
animatedPlaceholderType="noRecord"
buttonTitle={buttonTitle}
ButtonIcon={IconPlus}