New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin Save Bug #3058
Comments
Assigning new groups/permissions to a user requires an “elevated session”, which is what you get when that “Enter your password” modal comes up. Elevated sessions only last 5 minutes, so if it’s been more t han 5 minutes, you should be getting another “Enter your password” modal. Is that happening for you? If not, check your browser’s JavaScript console. Are you getting any JS errors before submitting the form that results in the error? |
Yes, so I fill out all the user information and permissions, then click save. The system asks me for my password, I fill that out and then I am immediately thrown to an HTTP 403 – Forbidden screen which says "This action may only be performed with an elevated session". I am not getting any JS errors before sending the form, just the errors once I enter my password and click submit. |
Also, I've had other admins of our environment try the same task and they are receiving the same error. So it doesn't look like any of us can really update a user's permissions. |
Is the site running in a load-balanced environment? |
That was it, Thanks! The App is hosted by Fortrabbit and we forgot to install the |
Ah great, glad you got it sorted! We’re working on a new support article with tips for running Craft in a load-balanced environment, so hopefully that will help other people in the future. |
For anyone arriving here from Google and using AWS EC2: |
I had this issue in a non load-balanced environment in Craft 3.1.24. Clearing the Craft cookie solved it for me. |
I had this issue in a non load-balanced environment in Craft 2.7.8. Clearing the Craft cookie solved it for me |
Description
As an admin, when I am adding new users to the system and assigning their permissions I am constantly getting an error saying "Unauthorized. This action may only be performed with an elevated session." which is causing me to not be able to set up users. I've noticed that if I log out, refresh, and go back into the system I can then add a user, but it won't let me add more than one at a time.
Steps to reproduce
Additional info
Amazon S3 | 1.0.8
CP Field Inspect | 1.0.4
CraftQL | dev-master
Postmark | 1.0.0-rc.1.2
Redactor | 2.1.0
Sprout Fields | 3.1.3
The text was updated successfully, but these errors were encountered: