RoxenCMS 17Web Developer ManualAccess Control Tags

   

<ac-add-identity>
<ac-add-ppoint>
<ac-change-handle>
<ac-change-name>
<ac-change-password>
<ac-cookie-auth>
<ac-cookie-logout>
<ac-disable-auths>
<ac-enable-auths>
<ac-remove-identity>
<ac-remove-ppoint>
<ac-set-identity-data>
<ac-set-membership>
<ac-set-permission>
<ac-update-identity>

<ac-set-identity-data/>

Provided by module: Access Control: Tags

Sets arbitrary data in an identity. The data is stored along with the identity in the AC database and can later be retrieved with <emit ac-identity-data>.

A user is always allowed to alter this data in her self. If an other user is specified with the identity attribute the normal AC permission checks are used.

<ac-set-identity-data identity='john' index='email' value='john@foo.com' />

Attributes

identity="{string, int}"

Username or numerical id of the identity. If no identity is supplied the currently authenticated user will be used.


index="string"

A field name for this data.


value="string"

Value to store. If the value is empty the field will be completely removed.