You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've got a form where members administer a list of song titles. This list works similar to the Duplicator interface in the backend: members can add and remove items or edit existing items. Each item is stored as an entry in an associated section. All members are allowed to create new and edit own entries.
This works just fine when the user creates a first song entry.
It also works fine when the user updates existing song entries.
It doesn't work when the user updates an existing song but also adds a new one.
The last case results in a permission error:
You are not authorised to perform this action.
It seems like Members sets the action for both items to edit although it should be edit for one and create for the other. Because the new item does not exist yet (that's why it's new, hum) and thus is not yet connected to the current member's id, the required access level is set to 2 (which means "edit all" I guess). At least everything works just fine, when I set the permissions to edit all.
Any ideas how to solve this issue?
The text was updated successfully, but these errors were encountered:
We've got a form where members administer a list of song titles. This list works similar to the Duplicator interface in the backend: members can add and remove items or edit existing items. Each item is stored as an entry in an associated section. All members are allowed to create new and edit own entries.
The last case results in a permission error:
It seems like Members sets the action for both items to
edit
although it should beedit
for one andcreate
for the other. Because the new item does not exist yet (that's why it's new, hum) and thus is not yet connected to the current member's id, the required access level is set to2
(which means "edit all" I guess). At least everything works just fine, when I set the permissions toedit all
.Any ideas how to solve this issue?
The text was updated successfully, but these errors were encountered: