John Cowen 4b8cabce0d
ui: Overview UI Routing (#12493)
This PR adds routes and an initial landing page for the Cluster Overview page
2022-03-15 12:58:14 +00:00

11 lines
399 B
JavaScript

import Service from 'ember-can/services/can';
export default class AbilitiesService extends Service {
parse(str) {
// It's nicer to talk about SSO but technically its part of the authMethod
// ability, we probably only need 'use SSO' but if we need more, reassess
// the `replace`
return super.parse(str.replace('use SSO', 'use authMethods').replace('service', 'zervice'));
}
}