Implement custom roles and improve permissions logic
The commit refactors the handling of account roles and enhances permissions checks. The account role has been shifted to use a string type, providing the ability to define custom roles. It also introduces the RolesDataProvider component, which stipulates role-related data for different forms and tables. The modification goes further to consider user role hierarchy in permissions checks, offering a more granular access control.
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
"checkoutSuccessTitle": "Done! You're all set.",
|
||||
"checkoutSuccessDescription": "Thank you for subscribing, we have successfully processed your subscription! A confirmation email will be sent to {{ customerEmail }}.",
|
||||
"checkoutSuccessBackButton": "Proceed to App",
|
||||
"cannotManageBillingAlertTitle": "You cannot manage billing",
|
||||
"cannotManageBillingAlertDescription": "You do not have permissions to manage billing. Please contact your organization owner.",
|
||||
"manageTeamPlan": "Manage your Team Plan",
|
||||
"manageTeamPlanDescription": "Choose a plan that fits your team's needs. You can upgrade or downgrade your plan at any time.",
|
||||
"status": {
|
||||
"free": {
|
||||
"badge": "Free Plan",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"primaryOwnerLabel": "Primary Owner",
|
||||
"joinedAtLabel": "Joined at",
|
||||
"invitedAtLabel": "Invited at",
|
||||
"membersTabSubheading": "Manage and Invite members",
|
||||
"membersTabDescription": "Here you can manage the members of your team.",
|
||||
"inviteMembersPageSubheading": "Invite members to your Team",
|
||||
"createTeamModalHeading": "Create Team",
|
||||
"createTeamModalDescription": "Create a new Team to manage your projects and members.",
|
||||
@@ -96,10 +96,10 @@
|
||||
"inviteMembersDescription": "Invite members to your team by entering their email and role.",
|
||||
"emailPlaceholder": "member@email.com",
|
||||
"membersPageHeading": "Members",
|
||||
"inviteMembersButtonLabel": "Invite Members",
|
||||
"inviteMembersButton": "Invite Members",
|
||||
"invitingMembers": "Inviting members...",
|
||||
"pendingInvitesHeading": "Pending Invites",
|
||||
"pendingInvitesSubheading": "Manage invites not yet accepted",
|
||||
"pendingInvitesDescription": " Here you can manage the pending invitations to your team.",
|
||||
"noPendingInvites": "No pending invites found",
|
||||
"loadingMembers": "Loading members...",
|
||||
"loadMembersError": "Sorry, we couldn't fetch your team's members.",
|
||||
|
||||
Reference in New Issue
Block a user