Skip to content

ACL edit.own does not work for Contacts and Newsfeeds #11466

@infograf768

Description

@infograf768

Not related to recent releases afaik.

For Newsfeeds, it is clear. We do not even take care of created_by in the newsfeeds model getListQuery() method. This should be implemented from scratch.

But for Contacts, I was hoping it would work.

Test instructions:
Create a sub-group of Manager with the following permissions for Contacts:
screen shot 2016-08-05 at 08 35 33

Access admin interface YES
Create YES
Delete NO
EDIT NO
EDIT STATE YES or NO
EDIT OWN YES

Log in back-end with a user member of that group

In Contacts Manager, create a new contact (You may not have permission to assign it to a user, but this is unrelated).
Save and Close that contact.

The contact is clickable in the Manager (Here the clickable one was created by this user)
screen shot 2016-08-05 at 08 41 23

Result of click to edit:
screen shot 2016-08-05 at 08 42 32

NOTE: It works fine for Articles with the same set of permissions. Did not test others.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions