mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. Fixes for AWC-538 and AWC-540
- Handling of removal of permissions on user shortcut objects while the user is still logged in to the system git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -342,6 +342,11 @@ public class UserShortcutsBean
|
||||
{
|
||||
if (permissionService.hasPermission(selectedNode.getNodeRef(), PermissionService.READ) == AccessStatus.ALLOWED)
|
||||
{
|
||||
if (nodeService.exists(selectedNode.getNodeRef()) == false)
|
||||
{
|
||||
throw new InvalidNodeRefException(selectedNode.getNodeRef());
|
||||
}
|
||||
|
||||
DictionaryService dd = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getDictionaryService();
|
||||
if (dd.isSubClass(selectedNode.getType(), ContentModel.TYPE_FOLDER))
|
||||
{
|
||||
|
Reference in New Issue
Block a user