element <permission>
Namespace:
Type:
embedded complexType
Content:
empty, 2 attributes
Defined:
locally at 1 location
Includes:
definitions of 2 attributes
XML Representation Summary
<permission
   
id
 = 
xsd:string
   
scope
 = 
("assignedTo" | "all" | "viewAll" | "viewCreatedBy")
/>
May be included in elements (1):
Usage / Definition Locations
Annotation
A permission specification. It is composed of id and a scope. The id is a workflow role id. The scope defines the users in that role a proper permission. There are four Scope types to be explained below. - assignedTo - . The scope defines if users in that role has permission only if the content is assigned to the user, one of his groups or none; - all - . If users in that role has permission to access all contents regardless of their assigned to; - viewCreatedBy - . If users in that role has permission to view only his contents, but without permission to edit them or create a new content; - viewAll - If users in that role has permission to view all contents but without permission to edit them or create a new content.
XML Source
<xsd:element maxOccurs="unbounded" minOccurs="0" name="permission">
<xsd:annotation>
<xsd:documentation>
A permission specification. It is composed of
id and a scope. The id is a workflow role id.
The scope defines the users in that role a proper permission. There are four Scope types to be explained below.
- assignedTo - . The scope defines if users in that role has permission only if the content is assigned to
the user, one of his groups or none; - all - . If users in that role has
permission to access all contents regardless of their assigned
to; - viewCreatedBy - . If users in that role has permission to view only his contents, but
without permission to edit them or create a new content; - viewAll - If users in that role has permission to view all contents but
without permission to edit them or create a new content.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The role id for this permission. Must be
equal to the id of a role defined for the workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope" type="stateScopeTypes" use="required">
<xsd:annotation>
<xsd:documentation>
The scope for this permission.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
Attribute Detail
id
The role id for this permission. Must be equal to the id of a role defined for the workflow.
Type:
xsd:string
Use:
required
Defined:
locally, within this element
XML Source
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The role id for this permission. Must be
equal to the id of a role defined for the workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

scope
The scope for this permission.
Type:
Use:
required
Defined:
locally, within this element
XML Source
<xsd:attribute name="scope" type="stateScopeTypes" use="required">
<xsd:annotation>
<xsd:documentation>
The scope for this permission.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

XML Schema documentation generated with DocFlex/XML (Kit) v1.6.2
DocFlex/XML is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else!
Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task!
Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com

Lumisportal  12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.