Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
- 7.4-known-issues
- liferay-ga11-ce-743
- liferay-ga12-ce-743
- liferay-ga13-ce-743-known-issue
- liferay-ga14-ce-743-known-issues
- liferay-ga15-ce-743-known-issues
- liferay-ga16-ce-743-known-issues
- liferay-ga17-ce-743-known-issues
- liferay-ga18-ce-743-known-issues
- liferay-ga19-ce-743-known-issues
- liferay-ga20-ce-743-known-issues
Description
Summary:
It is not possible to relate entries if the user does not have permission for both Objects
Steps to Reproduce:
- Go to Objects
- Create an Object A and an Object B with a field
- Go to Object A and create a Relationship One to Many with Object B
- Choose any Relationship Deletion Type
- Create a Layout with that contains the Relationship tab for Object A
- Publish them
- Add some entries on Object B and one entry on Object A
- Click on the Object A entry and add relations with the entries from Object B
- Go to Roles
- Create a Role > Define Permissions
- Search for Object A
- Give it all permissions
- Create a new user and assign the created Role to it
- Log in with the new user
- Go to Object A and click to view the entry
- Go to the Relationship tab
- Try to add a relation with an entry from Object B
Expected Result:
Relation is added
Actual Result:
Relation is not added
Verified on master: 2ef2546d5f8ce61aaecc9898bdd386cc6f29aae1