- Issue created by @mstrelan
- Merge request !97Remove check for user 1 in admin_toolbar_links_access_filter_filter_non_accessible_links β (Open) created by mstrelan
- Status changed to Needs review
7 months ago 5:07am 3 September 2024 - πΊπΈUnited States japerry KVUO
May need to do a check against a permission instead of the uid, but I don't know if we want to remove the 'full admin' return entirely.
- π¦πΊAustralia mstrelan
I think we need to get a list of their roles and see if any of them are "isAdminRole". I wonder if there is a helper function to find this for a user. If not, maybe there should be.
- π¦πΊAustralia mstrelan
I think we need to get a list of their roles and see if any of them are "isAdminRole". I wonder if there is a helper function to find this for a user. If not, maybe there should be.