Skip to content

Conversation

@perryr16
Copy link
Contributor

@perryr16 perryr16 commented Oct 20, 2025

Any background context you want to provide?

What's this PR do?

Limits org data based on user role and access level info. The following keys have been modified

  • "owners": If a user is a non owner, the list is empty
  • "cycles": The number of properties and taxlots in the "cycles" key is limited to those that the user has access to based on their access level instance.

How should this be manually tested?

  • view organizations page with an owner and member/viewer. Owners list should reflect the current user role
  • view the organizations page with a root and leaf user. Number of properties/taxlots should reflect the current user ALI

What are the relevant tickets?

#5040

Screenshots (if appropriate)

Owner/root in both orgs
Screenshot 2025-10-20 at 1 32 32 PM
Owner/root in "bb", member/leaf in "demo"
Screenshot 2025-10-20 at 1 30 12 PM

@perryr16 perryr16 added the Enhancement Add this label if functionality was generally improved but not a full feature or maintentance. label Oct 20, 2025
@perryr16 perryr16 requested a review from kflemin October 21, 2025 15:04
@kflemin
Copy link
Contributor

kflemin commented Oct 22, 2025

@perryr16 this is great! could you make one small modification: if the user is a viewer, don't show all the owners? but if they are a member, they can see the owners. thanks!

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.

2 participants