mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Share the invite-role policy service between Jade and semantic cookieless HTML4 controls, expose the enforced role capability matrix, and block direct DDP writes. Restore complete Admin Panel navigation and separate exact-language runtime translations from the bounded admin search publication.
9 lines
232 B
JavaScript
9 lines
232 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import { setInviteRolesForAdmin } from '/server/lib/adminInviteRoles';
|
|
|
|
Meteor.methods({
|
|
async setInviteToBoardRoles(roles) {
|
|
return setInviteRolesForAdmin(this.userId, roles);
|
|
},
|
|
});
|