Open rishkwal opened 1 year ago
Example considerations
authorizedUser
or authorizeContributor
or authenticatedContributor
deleteProjectById
would require an owner Permissionis_public=true
then it can be returned in a new query fetchPublicProjects
and ignores any permissions for read-only operations@otech47: provide sample code for Directive Resolvers
We need to put the following restrictions on a user based on the Permissions:
project_id
andcontributor_id
, thetype==owner
, then:createPhase
,editPhase
ordeletePhase
(on the Timeline)project_id
andcontributor_id
, thetype==contributor
, then: