Start page
Start page

Start page / Advanced topics / Assignment of permissions / User permissions / Define input components

Define input component

The CMS_INPUT_PERMISSION input component, with which editors can define access permissions for users for objects in JAVAclient, is usually used in the metadata tab of the respective object. To do this, a separate template must be created, which must be selected in the project properties, in the Metadata Template combobox in the Options area.

Define permissions

While there are only a certain number of pre-defined editorial permissions in FirstSpirit, completely individual user permissions can be defined.

Possible user permissions can be:

Permission

Explanation

Read

The user may view an object.

Change

The user may change an object.

Create

The user may create a new object.

Delete

The user may delete an object.

Print

The user may print out an object / a page.

Save

The user may save / download an object.

  
Important Unlike editorial permissions, which are specified and fixed by FirstSpirit, user permissions are individually defined by the template developer and can therefore be flexibly adjusted to all the requirements of a project or a website. This concerns both the semantics and the evaluation of the permissions. User permissions are therefore not interpreted and evaluated by FirstSpirit.

Form tab of the input component

An example of the "Form" tab could look like this:

<CMS_MODULE>
<CMS_INPUT_PERMISSION name="permission" group="GruppenFile" hFill="no">
<ACTIVITIES>
<ACTIVITY name="read">
<LANGINFOS>
<LANGINFO lang="EN" label="op1"/>
</LANGINFOS>
</ACTIVITY>
<ACTIVITY name="change">
<LANGINFOS>
<LANGINFO lang="EN" label=" op2"/>
</LANGINFOS>
</ACTIVITY>
<ACTIVITY name="create">
<LANGINFOS>
<LANGINFO lang="EN" label=" op3"/>
</LANGINFOS>
</ACTIVITY>
<ACTIVITY name="delete">
<LANGINFOS>
<LANGINFO lang="EN" label=" op4"/>
</LANGINFOS>
</ACTIVITY>
</ACTIVITIES>
<LANGINFOS>
<LANGINFO lang="*" label="permissions" description="Please select the group permissions"/>
</LANGINFOS>
</CMS_INPUT_PERMISSION>
</CMS_MODULE>

For further information and explanations of the CMS_INPUT_PERMISSION input component, please refer to the Template Development area of this online document.

© 2005 - 2014 e-Spirit AG | All rights reserved. | Last change: 2009-07-17