User Group Module

Overview

This module is used for defining new user's group.

Module's schema is defined in security.xsd.

Attributes

name

type

required

description

name

string

yes

Name of the group.

roles

string

no

Roles included in the group. Role is used to check access to the view, menu, ribbon or components. Roles is separetad by comma ','.

identifierstringyesIdentifier of the group. Use for defining users from xml.

Example

Please find below an example of plugin defining one group module. Lines 8 contains a module which defines new group admins with role ROLE_ADMIN.

<?xml version="1.0" encoding="UTF-8"?>
<plugin plugin="samplePlugin" version="1.0.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns="http://schema.qcadoo.org/plugin" 
    xmlns:security="http://schema.qcadoo.org/modules/security" 
    xsi:schemaLocation="http://schema.qcadoo.org/plugin http://schema.qcadoo.org/plugin.xsd http://schema.qcadoo.org/modules/security http://schema.qcadoo.org/modules/security.xsd">

    <security:user-group name="admins" identifier="ADMIN" roles="ROLE_ADMIN"/>

</plugin>