Use accessbility checks
This commit is contained in:
@@ -322,6 +322,7 @@ module.exports = function (options) {
|
||||
creatorId: request.user.id,
|
||||
name: dialect.name,
|
||||
artifactVersionId: artifactVersion.id,
|
||||
accessibility: artifactVersion.artifact.accessibility,
|
||||
dialectId: dialect.id,
|
||||
owner: {
|
||||
ownerEntities: [
|
||||
@@ -334,6 +335,7 @@ module.exports = function (options) {
|
||||
return {
|
||||
creatorId: request.user.id,
|
||||
chapterId: chapter.id,
|
||||
index: chapter.index,
|
||||
translationChunks: chapter.chunks.map(chunk => {
|
||||
return {
|
||||
creatorId: request.user.id,
|
||||
|
||||
Reference in New Issue
Block a user