| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 1 | <template> | 
| Sukanya Pandey | fde429e | 2020-09-14 20:48:39 +0530 | [diff] [blame] | 2 | <b-table stacked="sm" hover small :items="items" :fields="fields"> | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 3 | <template #cell(administrator)="data"> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 4 | <template v-if="data.value"> | 
| Derick Montague | 09e45cd | 2020-01-23 15:45:57 -0600 | [diff] [blame] | 5 | <checkmark20 /> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 6 | </template> | 
|  | 7 | </template> | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 8 | <template #cell(operator)="data"> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 9 | <template v-if="data.value"> | 
| Derick Montague | 09e45cd | 2020-01-23 15:45:57 -0600 | [diff] [blame] | 10 | <checkmark20 /> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 11 | </template> | 
|  | 12 | </template> | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 13 | <template #cell(readonly)="data"> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 14 | <template v-if="data.value"> | 
| Derick Montague | 09e45cd | 2020-01-23 15:45:57 -0600 | [diff] [blame] | 15 | <checkmark20 /> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 16 | </template> | 
|  | 17 | </template> | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 18 | <template #cell(noaccess)="data"> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 19 | <template v-if="data.value"> | 
| Derick Montague | 09e45cd | 2020-01-23 15:45:57 -0600 | [diff] [blame] | 20 | <checkmark20 /> | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 21 | </template> | 
|  | 22 | </template> | 
|  | 23 | </b-table> | 
|  | 24 | </template> | 
|  | 25 |  | 
|  | 26 | <script> | 
| Derick Montague | e2fd156 | 2019-12-20 13:26:53 -0600 | [diff] [blame] | 27 | import Checkmark20 from '@carbon/icons-vue/es/checkmark/20'; | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 28 |  | 
|  | 29 | export default { | 
|  | 30 | components: { | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 31 | Checkmark20, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 32 | }, | 
|  | 33 | data() { | 
|  | 34 | return { | 
|  | 35 | items: [ | 
|  | 36 | { | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 37 | description: this.$t( | 
| Ed Tanous | 8132399 | 2024-02-27 11:26:24 -0800 | [diff] [blame] | 38 | 'pageUserManagement.tableRoles.configureComponentsManagedByThisService', | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 39 | ), | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 40 | administrator: true, | 
| Derick Montague | ad01b20 | 2021-07-09 08:04:35 -0500 | [diff] [blame] | 41 | operator: true, | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 42 | readonly: false, | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 43 | noaccess: false, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 44 | }, | 
|  | 45 | { | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 46 | description: this.$t( | 
| Ed Tanous | 8132399 | 2024-02-27 11:26:24 -0800 | [diff] [blame] | 47 | 'pageUserManagement.tableRoles.configureManagerResources', | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 48 | ), | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 49 | administrator: true, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 50 | operator: false, | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 51 | readonly: false, | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 52 | noaccess: false, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 53 | }, | 
|  | 54 | { | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 55 | description: this.$t( | 
| Ed Tanous | 8132399 | 2024-02-27 11:26:24 -0800 | [diff] [blame] | 56 | 'pageUserManagement.tableRoles.updatePasswordForCurrentUserAccount', | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 57 | ), | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 58 | administrator: true, | 
| Yoshie Muranaka | 4716520 | 2020-10-27 14:56:50 -0700 | [diff] [blame] | 59 | operator: true, | 
|  | 60 | readonly: true, | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 61 | noaccess: false, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 62 | }, | 
|  | 63 | { | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 64 | description: this.$t( | 
| Ed Tanous | 8132399 | 2024-02-27 11:26:24 -0800 | [diff] [blame] | 65 | 'pageUserManagement.tableRoles.configureUsersAndTheirAccounts', | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 66 | ), | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 67 | administrator: true, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 68 | operator: false, | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 69 | readonly: false, | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 70 | noaccess: false, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 71 | }, | 
|  | 72 | { | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 73 | description: this.$t( | 
| Ed Tanous | 8132399 | 2024-02-27 11:26:24 -0800 | [diff] [blame] | 74 | 'pageUserManagement.tableRoles.logInToTheServiceAndReadResources', | 
| Yoshie Muranaka | eaa0480 | 2020-02-28 13:21:27 -0800 | [diff] [blame] | 75 | ), | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 76 | administrator: true, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 77 | operator: true, | 
| Yoshie Muranaka | 463a570 | 2019-12-04 09:09:36 -0800 | [diff] [blame] | 78 | readonly: true, | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 79 | noaccess: false, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 80 | }, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 81 | ], | 
|  | 82 | fields: [ | 
| kirankumarb07 | 3bf966a | 2023-02-07 19:12:33 +0530 | [diff] [blame] | 83 | { | 
|  | 84 | key: 'description', | 
|  | 85 | label: this.$t('pageUserManagement.tableRoles.privilege'), | 
|  | 86 | }, | 
|  | 87 | { | 
|  | 88 | key: 'administrator', | 
|  | 89 | label: this.$t('pageUserManagement.tableRoles.administrator'), | 
|  | 90 | class: 'text-center', | 
|  | 91 | }, | 
|  | 92 | { | 
|  | 93 | key: 'operator', | 
|  | 94 | label: this.$t('pageUserManagement.tableRoles.operator'), | 
|  | 95 | class: 'text-center', | 
|  | 96 | }, | 
|  | 97 | { | 
|  | 98 | key: 'readonly', | 
|  | 99 | label: this.$t('pageUserManagement.tableRoles.readOnly'), | 
|  | 100 | class: 'text-center', | 
|  | 101 | }, | 
|  | 102 | { | 
|  | 103 | key: 'noaccess', | 
|  | 104 | label: this.$t('pageUserManagement.tableRoles.noAccess'), | 
|  | 105 | class: 'text-center', | 
|  | 106 | }, | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 107 | ], | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 108 | }; | 
| Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 109 | }, | 
| Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 110 | }; | 
|  | 111 | </script> |