Skip to main content
Skip table of contents

Rights Widget

Definition

The Rights Widgets allows to configure the display/edit of rights attribute .

Rights Edit

Rights Display

Configuration

Properties

Property name

Type

Mandatory

Description

Values (default in bold)

Edit

Display

assignableRights

String

NO

Regular expression allowing filtering of rights that can be assigned from the widget.

.*

(tick)

(error)

Example

Rights Edit

Rights Display

XML
<widget id="rights" xsi:type="ctdbum:AttributeEditorWidgetType">
	<hidden>false</hidden>
    <config>
    	<editor>
        	<editWidget xsi:type="ctdbum:RightsEditWidgetType">
            	<hidden>false</hidden>
                <config>
                    <required>false</required>
                    <assignableRights>.*</assignableRights>
                </config>
			</editWidget>
		</editor>
        <label>Rights</label>
        <lockedInUi>false</lockedInUi>
        <mode>READ_WRITE</mode>
        <multiValued>false</multiValued>
        <override>true</override>
	</config>
    <attributeId>rights</attributeId>
</widget>

No specific properties to configure this widget.

XML
<widget id="rights" xsi:type="ctdbum:AttributeEditorWidgetType">
	<hidden>false</hidden>
    <config>
    	<editor>
        	<displayWidget xsi:type="ctdbum:RightsDisplayWidgetType">
            	<hidden>false</hidden>
                <config/>
            </displayWidget>
        </editor>
        <label>Rights</label>
        <lockedInUi>false</lockedInUi>
        <mode>READ</mode>
        <multiValued>true</multiValued>
        <override>false</override>
	</config>
    <attributeId>rights</attributeId>
</widget>

Read Next

  • Features

    Design screens and business features to manage objects.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.