+ getRoles () {
+ const authUser = this.auth.getUser()
+
+ if (authUser.role === UserRole.ADMINISTRATOR) {
+ return Object.keys(USER_ROLE_LABELS)
+ .map(key => ({ value: key.toString(), label: USER_ROLE_LABELS[key] }))
+ }
+
+ return [
+ { value: UserRole.USER.toString(), label: USER_ROLE_LABELS[UserRole.USER] }
+ ]
+ }
+