Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Chrome: Hide Sidebar Panels if the user don't have the right capabilities #2585
@@ Coverage Diff @@ ## master #2585 +/- ## ========================================== + Coverage 31.42% 32.63% +1.21% ========================================== Files 177 178 +1 Lines 5407 5531 +124 Branches 946 959 +13 ========================================== + Hits 1699 1805 +106 - Misses 3135 3150 +15 - Partials 573 576 +3
One issue, which I expect is present on master, is that the author dropdown does not show (correctly) for contributor role, but only because it attempts to make the API request for users and fails. Up to you if you'd like to address that here or separately.
@aduth I went ahead and updated to add the capability check. but the API request is still being fetched, because it's declared on the same