cesium / atomic

⚛️ De-engineered bifurcarted intranet
MIT License
39 stars 8 forks source link

fix: problems with platform admin users #412

Closed joaodiaslobo closed 11 months ago

joaodiaslobo commented 12 months ago

Some pages dependent on the current_organization key from socket assigns for redirects were causing multiple errors when being viewed by platform admin users, this PR changes these pages to use the organization related to the entity being viewed. Also makes sure that buttons to create new entities are only shown if an organization is actually selected.

reviewpad[bot] commented 12 months ago

AI-Generated Summary: This pull request contains various changes primarily aimed at addressing issues with admin users. The changes revolve around clean-up of code and optimizing some features. Highlights include:

The changes aim to improve user management and application functionality. It must be noted that amidst these changes, deletions slightly outweigh insertions.