Skip to content
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

"Save and New" button shows on entry edit screen even if you do not have permission to create new entries #144

Closed
jcogs-design opened this Issue Mar 4, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@jcogs-design
Copy link

jcogs-design commented Mar 4, 2019

Description of the problem
User from a group with permissions to "Edit" entries but not "Create" entries edits an entry in CP. All three buttons show (Save, Save and New, Save and Close). Clicking on the "Save and New" button triggers a page with Error: you are not authorised to access this page error.

How To Reproduce
Create an entry in a channel.
Create a member group with permissions to edit entries in the channel but not create new ones.
Edit the entry while logged in with a member assigned to the edit but not create member group.
All three buttons appear, but Save & New button triggers error if clicked upon.

Error Messages

`Error: you are not authorised to access this page`

Screenshots / Videos / Template Code
n/a

Environment Details:

  • Version: 5.1.3
  • PHP Version 7.2
  • MySQL Version 5.7.16
  • OS: macOS
  • Web Server: LAMP

Possible Solution

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.