Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit member visibility to users within access level instance #4572

Merged
merged 6 commits into from
Mar 21, 2024

Conversation

perryr16
Copy link
Contributor

Any background context you want to provide?

ICF requested that the members page should only show users that are at their own level or below.
i.e. starbucks partners should only be able to see starbucks partners, not admin users, and not other partner users

What's this PR do?

Uses ALIs to filter out users with higher permissions

How should this be manually tested?

create a few members at different access levels.
Log in and navigate to 'members' page. Only users in your ali or below are visible.

What are the relevant tickets?

#4569

Screenshots (if appropriate)

Admin
Screenshot 2024-03-18 at 3 02 46 PM
Sector Level
Screenshot 2024-03-18 at 3 00 48 PM
Partner Level
Screenshot 2024-03-18 at 3 02 03 PM

@perryr16 perryr16 added the Enhancement Add this label if functionality was generally improved but not a full feature or maintentance. label Mar 18, 2024
@perryr16 perryr16 changed the title Limit member visibility to users at, or below in the tree Limit member visibility to users within access level instance Mar 18, 2024
@perryr16 perryr16 requested a review from kflemin March 19, 2024 15:28
@perryr16 perryr16 marked this pull request as ready for review March 19, 2024 15:28
Copy link
Contributor

@kflemin kflemin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏆

@kflemin kflemin merged commit 22272f2 into develop Mar 21, 2024
8 checks passed
@kflemin kflemin deleted the 4569-hide-members-from-leaf-users branch March 21, 2024 19:24
@perryr16 perryr16 mentioned this pull request Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Add this label if functionality was generally improved but not a full feature or maintentance.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants