mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
16 lines
400 B
JavaScript
16 lines
400 B
JavaScript
import Org from '/models/org';
|
|
import { allowSiteAdminCollectionMutation } from '/server/lib/adminCollectionPermission';
|
|
|
|
Org.allow({
|
|
async insert(userId) {
|
|
return allowSiteAdminCollectionMutation(userId);
|
|
},
|
|
async update(userId) {
|
|
return allowSiteAdminCollectionMutation(userId);
|
|
},
|
|
async remove(userId) {
|
|
return allowSiteAdminCollectionMutation(userId);
|
|
},
|
|
fetch: [],
|
|
});
|