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