fix: Update visibility of team members based on user role (#14629)

* fix: team memebrs being hidden for admin when org is private and they are not org admin

* chore: remove console.loog

* chore: make permissionCheck more readable

* test: push e2e test for normal privacy banner in orgs

* test: add a few more edge cases

* chore: negate names

* feat: update func to make more sense

* Fix

---------

Co-authored-by: Hariom <[email protected]>
This commit is contained in:
sean-brydonandHariom authored and GitHub committed 2024-04-22 13:45:28 +00:00
1 parent ad3ee14501
commit 3ce6c23603
8 files changed
+228 -12

No files matched your search

@@ -318,6 +318,7 @@ export function UserListTable() {
return (
<>
<DataTable
data-testId="user-list-data-table"
onSearch={(value) => setDebouncedSearchTerm(value)}
selectionOptions={[
{