### How are you running Flagsmith - [ ] Self Hosted with Docker - [ ] Self Hosted with Kubernetes - [X] SaaS at flagsmith.com - [X] Some other way (add details in description below) ### Describe the bug When you are part of a role without being a project admin, making a request /projects/ID/features/Id/ causes a crash. It was tested locally and in staging. ### Steps To Reproduce 1. Create a role with View Project, View environment, and update feature state, and assign it to test user 2. Log in with the test user 3. Go to the project -> environment that you have permission to access. 4. Select a feature and update the feature state 5. See the error ### Expected behavior When I change the feature state value, the request should proceed without a 403 error and not display an error in the app ### Screenshots https://github.com/Flagsmith/flagsmith/assets/41410593/d94dfc43-4ae7-425d-bf3a-c975f2f31069 <img width="1349" alt="Screenshot 2024-07-05 at 3 41 18 PM" src="https://github.com/Flagsmith/flagsmith/assets/41410593/622ebfbf-a6f3-437f-9a8b-aa19e8f5f41c">
How are you running Flagsmith
Describe the bug
When you are part of a role without being a project admin, making a request /projects/ID/features/Id/ causes a crash.
It was tested locally and in staging.
Steps To Reproduce
Expected behavior
When I change the feature state value, the request should proceed without a 403 error and not display an error in the app
Screenshots
Screen.Recording.2024-07-05.at.3.39.14.PM.mov