enhancements
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@92486 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2cccba4eb1
commit
b1c8621cbe
|
@ -20,7 +20,7 @@ public class WorkspaceSharingWidget implements EntryPoint {
|
|||
* This is the entry point method.
|
||||
*/
|
||||
public void onModuleLoad() {
|
||||
|
||||
System.out.println("quiiiiiiiiiiii");
|
||||
try {
|
||||
|
||||
WorkspaceSharingController controller = new WorkspaceSharingController(
|
||||
|
|
|
@ -172,7 +172,7 @@ public class GWTWorkspaceSharingBuilder {
|
|||
switch (acl) {
|
||||
|
||||
case ADMINISTRATOR:
|
||||
acls.add(new WorkspaceACL(acl.toString(), ACL_TYPE.ADMINISTRATOR, "Admin", false, USER_TYPE.ADMINISTRATOR, ""));
|
||||
// acls.add(new WorkspaceACL(acl.toString(), ACL_TYPE.ADMINISTRATOR, "Admin", false, USER_TYPE.ADMINISTRATOR, ""));
|
||||
break;
|
||||
case READ_ONLY:
|
||||
acls.add(new WorkspaceACL(acl.toString(), ACL_TYPE.READ_ONLY, "Read Only", false, USER_TYPE.OTHER, "Users can read any file but cannot update/delete"));
|
||||
|
|
|
@ -10,7 +10,6 @@ package org.gcube.portlets.widgets.workspacesharingwidget.shared;
|
|||
*/
|
||||
public enum ACL_TYPE {
|
||||
|
||||
ADMINISTRATOR,
|
||||
READ_ONLY, // "Users can read any file but cannot update/delete"
|
||||
WRITE_OWNER, //"Users can update/delete only their files"
|
||||
WRITE_ANY; //"Any user can update/delete any file"
|
||||
|
|
Binary file not shown.
|
@ -3,24 +3,16 @@
|
|||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
|
||||
<!-- -->
|
||||
<!-- Consider inlining CSS to reduce the number of requested files -->
|
||||
<!-- -->
|
||||
|
||||
<link type="text/css" rel="stylesheet" href="workspacesharingwidget.css">
|
||||
|
||||
<link rel='stylesheet' type='text/css' href='gxt2/css/gxt-all.css' />
|
||||
<script type="text/javascript" language="javascript"
|
||||
src="workspacesharingwidget/workspacesharingwidget.nocache.js" />
|
||||
<script language='javascript' src='gxt2/flash/swfobject.js'></script>
|
||||
<script type="text/javascript" language="javascript" src="workspacesharingwidget/workspacesharingwidget.nocache.js" />
|
||||
|
||||
<title>Workspace Sharing Widget</title>
|
||||
|
||||
</head>
|
||||
|
||||
<!-- -->
|
||||
<!-- The body can have arbitrary html, or -->
|
||||
<!-- you can leave the body empty if you want -->
|
||||
<!-- to create a completely dynamic UI. -->
|
||||
<!-- -->
|
||||
<body>
|
||||
|
||||
<!-- OPTIONAL: include this if you want history support -->
|
||||
|
|
Loading…
Reference in New Issue