MNT-16224, RA-1093: Fixed Quickshare issue where deleting a shared node didn't remove the 'shared' aspect. The fix also takes care of the shared nodes that have been deleted but not yet restored, as well as, shared nodes that have already been restored from the trashcan (allow the user to un-share).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@127454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-31 16:57:14 +00:00
parent 29c85366ed
commit 1cabca593c
4 changed files with 314 additions and 20 deletions

View File

@@ -84,4 +84,9 @@ public interface QuickShareService
* Determine if the current user has permission to read the shared content.
*/
public boolean canRead(String sharedId);
/**
* Determine if the current user has permission to delete the shared link.
*/
public boolean canDeleteSharedLink(NodeRef nodeRef, String sharedByUserId);
}