git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-02-01 12:59:28 +00:00
parent bb5b8e7dcd
commit 5b8ba72630

View File

@@ -680,9 +680,9 @@ public class UIUserSandboxes extends SelfRenderingComponent
out.write("<tr><td colspan=8>"); out.write("<tr><td colspan=8>");
out.write(bundle.getString(MSG_SELECTED)); out.write(bundle.getString(MSG_SELECTED));
out.write(":&nbsp;&nbsp;"); out.write(":&nbsp;&nbsp;");
if (permissionService.hasPermission( NodeRef userStoreRef = AVMNodeConverter.ToNodeRef(-1, AVMConstants.buildSandboxRootPath(userStore));
AVMNodeConverter.ToNodeRef(-1, AVMConstants.buildSandboxRootPath(userStore)), if (permissionService.hasPermission(userStoreRef, PermissionService.WRITE) == AccessStatus.ALLOWED ||
PermissionService.WRITE) == AccessStatus.ALLOWED) permissionService.hasPermission(userStoreRef, PermissionService.ADD_CHILDREN) == AccessStatus.ALLOWED)
{ {
Utils.encodeRecursive(fc, aquireAction( Utils.encodeRecursive(fc, aquireAction(
fc, userStore, username, ACT_SANDBOX_SUBMITSELECTED, "/images/icons/submit_all.gif", fc, userStore, username, ACT_SANDBOX_SUBMITSELECTED, "/images/icons/submit_all.gif",