SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
107 stars 55 forks source link

Limit member visibility to users within access level instance #4572

Closed perryr16 closed 6 months ago

perryr16 commented 6 months ago

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