|
|
@ -12,8 +12,8 @@ export async function xcVisibilityMetaSetAll(param: { |
|
|
|
validatePayload( |
|
|
|
validatePayload( |
|
|
|
'swagger.json#/components/schemas/VisibilityRuleReq', |
|
|
|
'swagger.json#/components/schemas/VisibilityRuleReq', |
|
|
|
param.visibilityRule |
|
|
|
param.visibilityRule |
|
|
|
), |
|
|
|
); |
|
|
|
T.emit('evt', { evt_type: 'uiAcl:updated' }); |
|
|
|
T.emit('evt', { evt_type: 'uiAcl:updated' }); |
|
|
|
for (const d of param.visibilityRule) { |
|
|
|
for (const d of param.visibilityRule) { |
|
|
|
for (const role of Object.keys(d.disabled)) { |
|
|
|
for (const role of Object.keys(d.disabled)) { |
|
|
|
const view = await View.get(d.id); |
|
|
|
const view = await View.get(d.id); |
|
|
|