[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:
Marie
2025-06-23 15:46:53 +02:00
committed by GitHub
parent 8f0c9facf2
commit 2cb2f528df
12 changed files with 246 additions and 108 deletions

View File

@ -97,7 +97,7 @@ export const mockedTimelineActivities: Array<TimelineActivity> = [
createdAt: '2023-04-26T10:12:42.33625+00:00',
workspaceMember: {
__typename: 'WorkspaceMember',
id: '20202020-1553-45c6-a028-5a9064cce07f',
id: '20202020-463f-435b-828c-107e007a2711',
avatarUrl: '',
locale: 'en',
name: {
@ -108,7 +108,7 @@ export const mockedTimelineActivities: Array<TimelineActivity> = [
userEmail: 'jane@doe.com',
colorScheme: 'Light',
},
workspaceMemberId: '20202020-1553-45c6-a028-5a9064cce07f',
workspaceMemberId: '20202020-463f-435b-828c-107e007a2711',
deletedAt: null,
__typename: 'TimelineActivity',
},

View File

@ -3,7 +3,7 @@ import { WorkspaceMember } from '@/workspace-member/types/WorkspaceMember';
export const mockWorkspaceMembers: WorkspaceMember[] = [
{
id: '20202020-1553-45c6-a028-5a9064cce07f',
id: '20202020-463f-435b-828c-107e007a2711',
name: {
firstName: 'Jane',
lastName: 'Doe',