Forums / Developer / permission allow edit if owner of parent

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

permission allow edit if owner of parent

Author Message

Douglas Hammond

Thursday 12 November 2009 11:13:27 am

How do I allow a user to view an object if they are the owner of the parent object?

Here is what I have.

The user1 creates a request object.
User2 and user1 add comments as child objects to the request.

I need user1 and user2 to be able to view the request and comments but not allow any other users to view them.

Any ideas on have to accomplish this would be great.