Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
The OWNER permission cascades to child entities. For example, the OWNER of a project cascades to experiments in that project and each experiment could have a different OWNER. Which means that an experiment could have two users with the OWNER permission. However, a shared entity only has one DIRECT OWNER. Owners of parent entities are INDIRECT OWNER sharing types.
But this error is different. Airavata::getAllAccessibleUsers when called for the OWNER permission type only returns DIRECT owners. The problem with the PGA is it was still passing a "resourceType" argument to the API call, but that field has been removed. "resourceType" is no longer used in the Airavata sharing methods and needs to be removed from the PGA code.