|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
|
|
import { OrgUserRoles } from '../../enums/OrgUserRoles' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
owner: { |
|
|
|
owner: { |
|
|
|
exclude: { |
|
|
|
exclude: { |
|
|
@ -187,7 +189,7 @@ export default { |
|
|
|
dataGroupBy: true, |
|
|
|
dataGroupBy: true, |
|
|
|
commentsCount: true, |
|
|
|
commentsCount: true, |
|
|
|
|
|
|
|
|
|
|
|
galleryViewGet: true, |
|
|
|
alleryViewGet: true, |
|
|
|
kanbanViewGet: true, |
|
|
|
kanbanViewGet: true, |
|
|
|
groupedDataList: true, |
|
|
|
groupedDataList: true, |
|
|
|
|
|
|
|
|
|
|
@ -271,14 +273,14 @@ export default { |
|
|
|
dataCount: true, |
|
|
|
dataCount: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
user_new: { |
|
|
|
[OrgUserRoles.VIEWER]: { |
|
|
|
include: { |
|
|
|
include: { |
|
|
|
passwordChange: true, |
|
|
|
passwordChange: true, |
|
|
|
projectList: true, |
|
|
|
projectList: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
super: '*', |
|
|
|
[OrgUserRoles.SUPER]: '*', |
|
|
|
user: { |
|
|
|
[OrgUserRoles.CREATOR]: { |
|
|
|
include: { |
|
|
|
include: { |
|
|
|
upload: true, |
|
|
|
upload: true, |
|
|
|
uploadViaURL: true, |
|
|
|
uploadViaURL: true, |
|
|
@ -301,4 +303,4 @@ export default { |
|
|
|
auditRowUpdate: true, |
|
|
|
auditRowUpdate: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
} |
|
|
|