Sha256: 8edc0e5f8399f01666073b68c6ba8ef2a9ef968b32ab3c2e29b2adcf73a4d413
Contents?: true
Size: 471 Bytes
Versions: 1
Compression:
Stored size: 471 Bytes
Contents
export const c = { LAYER_MEMBERS_USE: 'LAYER_MEMBERS_USE', LAYER_MEMBERS_ADMIN: 'LAYER_MEMBERS_ADMIN' }; export function fetch(rmanager, type, id) { var role = ''; if (type === c.LAYER_MEMBERS_USE) { role = `@/layer/${id}/use_host`; } else if (type === c.LAYER_MEMBERS_ADMIN) { role = `@/layer/${id}/admin_host`; } return rmanager .callServer('GET', `/api/authz/\${account}/roles/${role}?members`) .end(); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conjur-asset-ui-1.6.0 | app/src/clients/layer_members.js |