mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Added new Invite Website Users action - Content Managers can now invite additional users into the Web Project and sandboxes created for them - Refactoring of old-skool Invite Content/Space Users wizard beans to new style wizard framework beans - TODO: refactor JSPs to complement new beans . User Sandbox creation code refactoring into a SandboxFactory helper so various wizards can utilise it . Workflow selection lists now show workflow 'title' human-readable label instead of 'name' identifier field git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
35 lines
796 B
Java
35 lines
796 B
Java
package org.alfresco.web.bean.wizard;
|
|
|
|
import java.util.Set;
|
|
|
|
import org.alfresco.model.ContentModel;
|
|
import org.alfresco.web.bean.repository.Node;
|
|
|
|
/**
|
|
* Concrete implementation providing the ability to invite users to a space.
|
|
*
|
|
* @author gavinc
|
|
*/
|
|
public class InviteSpaceUsersWizard extends InviteUsersWizard
|
|
{
|
|
/** Cache of available folder permissions */
|
|
Set<String> folderPermissions = null;
|
|
|
|
@Override
|
|
protected Set<String> getPermissionsForType()
|
|
{
|
|
if (this.folderPermissions == null)
|
|
{
|
|
this.folderPermissions = this.permissionService.getSettablePermissions(ContentModel.TYPE_FOLDER);
|
|
}
|
|
|
|
return this.folderPermissions;
|
|
}
|
|
|
|
@Override
|
|
protected Node getNode()
|
|
{
|
|
return this.browseBean.getActionSpace();
|
|
}
|
|
}
|