Transfer changes from enterprise codebase
This commit is contained in:
@@ -576,7 +576,7 @@ router.post(
|
||||
const collection = await Collection.scope({
|
||||
method: ["withMembership", user.id],
|
||||
}).findByPk(id);
|
||||
authorize(user, "read", collection);
|
||||
authorize(user, "export", collection);
|
||||
|
||||
const fileOperation = await sequelize.transaction(async (transaction) =>
|
||||
collectionExporter({
|
||||
|
||||
Reference in New Issue
Block a user