Skip to content

Commit 9f9b365

Browse files
committed
Fix syntax
1 parent a41f301 commit 9f9b365

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs_headless/src/content/docs/canAccessWithPermissions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ export const roleDefinitions = {
8080
{ action: '*', resource: '*' }
8181
],
8282
reader: [
83-
{ action: ['list', 'show', 'export'], resource: '*' }
84-
{ action: 'read', resource: 'posts.*' }
85-
{ action: 'read', resource: 'comments.*' }
83+
{ action: ['list', 'show', 'export'], resource: '*' },
84+
{ action: 'read', resource: 'posts.*' },
85+
{ action: 'read', resource: 'comments.*' },
8686
],
8787
accounting: [
8888
{ action: '*', resource: 'sales' },

docs_headless/src/content/docs/getPermissionsFromRoles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ const roleDefinitions = {
3131
{ action: '*', resource: '*' }
3232
],
3333
reader: [
34-
{ action: ['list', 'show', 'export'], resource: '*' }
35-
{ action: 'read', resource: 'posts.*' }
36-
{ action: 'read', resource: 'comments.*' }
34+
{ action: ['list', 'show', 'export'], resource: '*' },
35+
{ action: 'read', resource: 'posts.*' },
36+
{ action: 'read', resource: 'comments.*' },
3737
],
3838
accounting: [
3939
{ action: '*', resource: 'sales' },

0 commit comments

Comments
 (0)