import { replyToAction } from '../../../bus/publishActionReply.js' export const actions = { async action_RELOADCONFIG(action, payload, reqid, sender, cnxId, roles) { this.reloadAccessRights() replyToAction(this, { action, reqid, sender, cnxId, success: true }) }, async action_GETCONFIG(action, payload, reqid, sender, cnxId, roles) { replyToAction(this, { action, reqid, sender, cnxId, success: true, payload: this.getAccessRights(), }) }, }