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

AH - Revise analysis permissions for creating columns #4551

Closed kflemin closed 7 months ago

kflemin commented 7 months ago

What's this PR do?

Restrict creation of new extra data columns during an analysis run to root owner and members. If the analysis is run by a leaf member, and the columns do not exist, they will not be created. If they exist, they will be populated with the analysis results.

How should this be manually tested?

Import data in a hierarchy-enabled org. Create a leaf node user As leaf node user, create an analysis. Verify that no columns were created on the org. As a root node user (owner or member role), create an analysis. Verify that columns were created and populated.

eligible analyses: eui, co2, eeej, BETTER.

What are the relevant tickets?

4220

Screenshots (if appropriate)

github-actions[bot] commented 7 months ago

Label error. Requires at least 1 of: Feature, Bug, Enhancement, Maintenance, Documentation, Performance, Do not publish. Found: