Hi all , I'm using jira 6.2.7 and i wanna check programatically if a user has the permission Delete Own Attachments or not , i tried that code but it check only global permissions as i understand :
boolean userHasPermission = ComponentAccessor.getPermissionManager().hasPermission(Permissions.ATTACHMENT_DELETE_OWN, loggedUser);
any help ? thanks