mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. WCM UI
- Added initial definition of permissions/roles for ContentManager, ContentPublisher, ContentContributor and ContentReviewer - Create Website wizard shows only the rules defined for the avm webfolder type - Create Website wizard now creates appropriate child associations for user roles - User roles displayed in the website browse screen next to the user names NOTE: Websites created before this change are NOT backward compatible and will need to be recreated! git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
<imports>
|
<imports>
|
||||||
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
||||||
|
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
||||||
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
||||||
</imports>
|
</imports>
|
||||||
|
|
||||||
@@ -58,11 +59,6 @@
|
|||||||
<property name="app:avmstore">
|
<property name="app:avmstore">
|
||||||
<type>d:text</type>
|
<type>d:text</type>
|
||||||
</property>
|
</property>
|
||||||
<!-- list of usernames who have sandboxes in this website -->
|
|
||||||
<property name="app:usersandboxes">
|
|
||||||
<type>d:text</type>
|
|
||||||
<multiple>true</multiple>
|
|
||||||
</property>
|
|
||||||
</properties>
|
</properties>
|
||||||
<associations>
|
<associations>
|
||||||
<child-association name="app:formtriples">
|
<child-association name="app:formtriples">
|
||||||
@@ -92,7 +88,7 @@
|
|||||||
|
|
||||||
<type name="app:formtriple">
|
<type name="app:formtriple">
|
||||||
<title>Website Form Triple</title>
|
<title>Website Form Triple</title>
|
||||||
<parent>cm:cmobject</parent>
|
<parent>sys:base</parent>
|
||||||
<properties>
|
<properties>
|
||||||
<property name="app:form">
|
<property name="app:form">
|
||||||
<type>d:noderef</type>
|
<type>d:noderef</type>
|
||||||
@@ -110,7 +106,7 @@
|
|||||||
|
|
||||||
<type name="app:webuser">
|
<type name="app:webuser">
|
||||||
<title>Website User Information</title>
|
<title>Website User Information</title>
|
||||||
<parent>cm:cmobject</parent>
|
<parent>sys:base</parent>
|
||||||
<properties>
|
<properties>
|
||||||
<property name="app:username">
|
<property name="app:username">
|
||||||
<type>d:text</type>
|
<type>d:text</type>
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
<namespaces>
|
<namespaces>
|
||||||
<namespace uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
<namespace uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
|
||||||
<namespace uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
<namespace uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
||||||
|
<namespace uri="http://www.alfresco.org/model/application/1.0" prefix="app"/>
|
||||||
</namespaces>
|
</namespaces>
|
||||||
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
@@ -302,6 +303,31 @@
|
|||||||
|
|
||||||
</permissionSet>
|
</permissionSet>
|
||||||
|
|
||||||
|
<!-- ========================================== -->
|
||||||
|
<!-- Permissions specific to avm website folder -->
|
||||||
|
<!-- ========================================== -->
|
||||||
|
|
||||||
|
<permissionSet type="app:webfolder" expose="selected">
|
||||||
|
|
||||||
|
<!-- AVM website specific roles. -->
|
||||||
|
<permissionGroup name="ContentManager" allowFullControl="true" expose="true">
|
||||||
|
<includePermissionGroup permissionGroup="Contributor" type="cm:cmobject" />
|
||||||
|
</permissionGroup>
|
||||||
|
|
||||||
|
<permissionGroup name="ContentPublisher" allowFullControl="false" expose="true">
|
||||||
|
<includePermissionGroup permissionGroup="Collaborator" type="cm:cmobject" />
|
||||||
|
</permissionGroup>
|
||||||
|
|
||||||
|
<permissionGroup name="ContentContributor" allowFullControl="false" expose="true">
|
||||||
|
<includePermissionGroup permissionGroup="Contributor" type="cm:cmobject" />
|
||||||
|
</permissionGroup>
|
||||||
|
|
||||||
|
<permissionGroup name="ContentReviewer" allowFullControl="false" expose="true">
|
||||||
|
<includePermissionGroup permissionGroup="Consumer" type="cm:cmobject" />
|
||||||
|
</permissionGroup>
|
||||||
|
|
||||||
|
</permissionSet>
|
||||||
|
|
||||||
<!-- ============================================== -->
|
<!-- ============================================== -->
|
||||||
<!-- Permissions associated with the Ownable aspect -->
|
<!-- Permissions associated with the Ownable aspect -->
|
||||||
<!-- ============================================== -->
|
<!-- ============================================== -->
|
||||||
@@ -323,7 +349,6 @@
|
|||||||
|
|
||||||
</permissionSet>
|
</permissionSet>
|
||||||
|
|
||||||
|
|
||||||
<!-- =================================================== -->
|
<!-- =================================================== -->
|
||||||
<!-- Permission related to lock, check out and check in. -->
|
<!-- Permission related to lock, check out and check in. -->
|
||||||
<!-- =================================================== -->
|
<!-- =================================================== -->
|
||||||
|
@@ -239,7 +239,10 @@ public interface ContentModel
|
|||||||
// AVM web folder
|
// AVM web folder
|
||||||
static final QName TYPE_AVMWEBFOLDER = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "webfolder");
|
static final QName TYPE_AVMWEBFOLDER = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "webfolder");
|
||||||
static final QName PROP_AVMSTORE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "avmstore");
|
static final QName PROP_AVMSTORE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "avmstore");
|
||||||
static final QName PROP_USERSANDBOXES = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "usersandboxes");
|
static final QName ASSOC_WEBUSER = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "webuser");
|
||||||
|
static final QName TYPE_WEBUSER = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "webuser");
|
||||||
|
static final QName PROP_WEBUSERNAME = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "username");
|
||||||
|
static final QName PROP_WEBUSERROLE = QName.createQName(NamespaceService.APP_MODEL_1_0_URI, "role");
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user