mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
24 lines
543 B
JavaScript
24 lines
543 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Set the list of users who are admins.
|
|
*
|
|
* @param {User} users - The users who will receive admin rights.
|
|
*/
|
|
function setAdmins(...users) {}
|
|
|
|
/**
|
|
* Set the list of users who can access a widget.
|
|
*
|
|
* @param {Widget} widget - The widget.
|
|
* @param {User} users - The users who will receive rights to access the widget.
|
|
*/
|
|
function setWidgetAccess(widget, ...users) {}
|
|
|
|
/**
|
|
* Set the list of users who are managers.
|
|
*
|
|
* @param {User} users - The users who are managers.
|
|
*/
|
|
var setManagers = function(...users) {};
|