Privilege (attribute of allow)

From JRapid

(Redirected from Privilege)
Jump to: navigation, search

The "privilege" attribute specifies the name of the privilege associated to a restricted element.

It is used when restricting the access of the users to elements.


Example

In the following example, the Index Panel can only be accessed by users with the "canAccessIndex" privilege.

<panel name="Index" title="Default main page">
        <restrict>
            <allow action="VIEW" privilege="IV"/>
        </restrict>
        <menu/>
</panel>
Restrict Panel

See also

Personal tools