[permissions - seeds] Give tim@apple.dev restricted rights (#12768)
Let's introduce an object-limited role for Tim, to test and/or spot incompatibilities with restricted permissions in the future. Our main user tim@apple.dev is now assigned a role that has all settings permissions, and all object permissions except for update on Pets (to test read-only view) and read on Rockets. Since we still need an admin user for each workspace we are introducing a new member, Jane, who has the admin role --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
+10
@@ -25,6 +25,7 @@ export const WORKSPACE_MEMBER_DATA_SEED_IDS = {
|
||||
TIM: '20202020-0687-4c41-b707-ed1bfca972a7',
|
||||
JONY: '20202020-77d5-4cb6-b60a-f4a835a85d61',
|
||||
PHIL: '20202020-1553-45c6-a028-5a9064cce07f',
|
||||
JANE: '20202020-463f-435b-828c-107e007a2711',
|
||||
};
|
||||
|
||||
export const WORKSPACE_MEMBER_DATA_SEEDS: WorkspaceMemberDataSeed[] = [
|
||||
@@ -55,4 +56,13 @@ export const WORKSPACE_MEMBER_DATA_SEEDS: WorkspaceMemberDataSeed[] = [
|
||||
userEmail: 'phil.schiler@apple.dev',
|
||||
userId: USER_DATA_SEED_IDS.PHIL,
|
||||
},
|
||||
{
|
||||
id: WORKSPACE_MEMBER_DATA_SEED_IDS.JANE,
|
||||
nameFirstName: 'Jane',
|
||||
nameLastName: 'Austen',
|
||||
locale: 'en',
|
||||
colorScheme: 'Light',
|
||||
userEmail: 'jane.austen@apple.dev',
|
||||
userId: USER_DATA_SEED_IDS.JANE,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user