@@ -12,6 +12,7 @@ export function definePermissions (builder: Builder): void {
1212 core . space . Model ,
1313 {
1414 label : documents . string . ReviewDocumentPermission ,
15+ scope : 'space' ,
1516 description : documents . string . ReviewDocumentDescription
1617 } ,
1718 documents . permission . ReviewDocument
@@ -22,6 +23,7 @@ export function definePermissions (builder: Builder): void {
2223 core . space . Model ,
2324 {
2425 label : documents . string . ApproveDocumentPermission ,
26+ scope : 'space' ,
2527 description : documents . string . ApproveDocumentDescription
2628 } ,
2729 documents . permission . ApproveDocument
@@ -32,6 +34,7 @@ export function definePermissions (builder: Builder): void {
3234 core . space . Model ,
3335 {
3436 label : documents . string . ArchiveDocumentPermission ,
37+ scope : 'space' ,
3538 description : documents . string . ArchiveDocumentDescription
3639 } ,
3740 documents . permission . ArchiveDocument
@@ -42,6 +45,7 @@ export function definePermissions (builder: Builder): void {
4245 core . space . Model ,
4346 {
4447 label : documents . string . CoAuthorDocumentPermission ,
48+ scope : 'space' ,
4549 description : documents . string . CoAuthorDocumentDescription
4650 } ,
4751 documents . permission . CoAuthorDocument
@@ -52,6 +56,7 @@ export function definePermissions (builder: Builder): void {
5256 core . space . Model ,
5357 {
5458 label : documents . string . CreateDocumentPermission ,
59+ scope : 'space' ,
5560 description : documents . string . CreateDocumentDescription
5661 } ,
5762 documents . permission . CreateDocument
@@ -62,6 +67,7 @@ export function definePermissions (builder: Builder): void {
6267 core . space . Model ,
6368 {
6469 label : documents . string . UpdateDocumentOwnerPermission ,
70+ scope : 'space' ,
6571 description : documents . string . UpdateDocumentOwnerDescription
6672 } ,
6773 documents . permission . UpdateDocumentOwner
@@ -72,6 +78,7 @@ export function definePermissions (builder: Builder): void {
7278 core . space . Model ,
7379 {
7480 label : documents . string . CreateDocumentCategoryPermission ,
81+ scope : 'space' ,
7582 description : documents . string . CreateDocumentCategoryDescription
7683 } ,
7784 documents . permission . CreateDocumentCategory
@@ -82,6 +89,7 @@ export function definePermissions (builder: Builder): void {
8289 core . space . Model ,
8390 {
8491 label : documents . string . UpdateDocumentCategoryPermission ,
92+ scope : 'space' ,
8593 description : documents . string . UpdateDocumentCategoryDescription
8694 } ,
8795 documents . permission . UpdateDocumentCategory
@@ -92,6 +100,7 @@ export function definePermissions (builder: Builder): void {
92100 core . space . Model ,
93101 {
94102 label : documents . string . DeleteDocumentCategoryPermission ,
103+ scope : 'space' ,
95104 description : documents . string . DeleteDocumentCategoryDescription
96105 } ,
97106 documents . permission . DeleteDocumentCategory
0 commit comments