- Issue created by @mayur-sose
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Thanks, this is something we missed in ✨ Create React Permission Utilities Active !
- Merge request !1259#3535142 Wrap "Edit code" option for components in the library with permission check → (Merged) created by jessebaker
- 🇬🇧United Kingdom jessebaker
I've not addressed "If they somehow access it, the error message should have a clear close button and subsequently redirect the user appropriately."
The user without permissions should only be able to get to that error screen by typing in the URL. Now that the "Edit code" options is correctly wrapped, I don't think there are any other ways to get there so I don't think it's necessary. They will have to just click the Drop icon in the top left and navigate out of XB entirely (or edit the URL)
The reported issue has been resolved. Users without the "administer code components" permission can no longer access the Edit Code button. Thanks @jessebaker and @wim-leers
-
wim leers →
committed 189c47a7 on 0.x authored by
jessebaker →
Issue #3535142 by jessebaker, mayur-sose: Edit option incorrectly...
-
wim leers →
committed 189c47a7 on 0.x authored by
jessebaker →