Jump to conversation
Unresolved conversations (7)
@lenmorld lenmorld Oct 17, 2020
3. Agency Admins and Global Admins can change Group
...ials/user-editor/user-editor.component.js
@lenmorld lenmorld Oct 17, 2020
2. only Global Admins can change Agency
...ials/user-editor/user-editor.component.js
@lenmorld lenmorld Oct 17, 2020
1. Agency Admins and Global Admins can change Role
...ials/user-editor/user-editor.component.js
@lenmorld lenmorld Oct 16, 2020
so if agency or global admin, display the FormControl with Select field...
Outdated
...ials/user-editor/user-editor.component.js
@lenmorld lenmorld Oct 16, 2020
added booleans here to use inside the form whether to display the Select or the read-only TextField
...ials/user-editor/user-editor.component.js
@lenmorld lenmorld Oct 15, 2020
I added this data value -> i18n role name resolver
...ials/user-editor/user-editor.component.js
@lenmorld lenmorld Oct 15, 2020
I noticed that the value for this field is not like the data field in roles lowercase one-word more like a data value ``` <MenuItem value="global"> <MenuItem value="agency"> <MenuItem value="group"> <MenuItem value="field"> ``` this one is `<MenuItem value="User Group">` I guess usually select data values are identifiers wired to a data store/database, rather than a "name". Just wondering if this was intended, and if not, might be causing bugs. I tried to git blame, but it was there on the very first commit https://github.com/WildAid/o-fish-web/blame/cc84f5986f6b2aafec44a8b8e9f910e4f7bfe23e/src/components/partials/user-editor/user-editor.component.js#L328
...ials/user-editor/user-editor.component.js
lenmorld
Resolved conversations (0)