You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
260 B
13 lines
260 B
4 years ago
|
import CRUDBase from '../CRUDBase.js'
|
||
|
|
||
|
class RoleResource extends CRUDBase {
|
||
|
endpoint = '/api/v1/auth/roles'
|
||
|
required_fields = ['role', 'permissions']
|
||
|
|
||
|
item = 'Role'
|
||
|
plural = 'Roles'
|
||
|
}
|
||
|
|
||
|
const auth_role = new RoleResource()
|
||
|
export { auth_role }
|