From LimeSurvey Manual

Revision as of 17:52, 29 May 2014 by DenisChenu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 Hint: This features is available starting in version 2.06


This event is fired just before a permission is tested.


The event receives the following information:

  • iEntityID The entity ID (sid for survey, 0 for template, 0 or null for all)
  • sEntityName Entity : global, survey, template ...
  • sPermission Name of the permission, example : activate, surveycontent... For template : the template name.
  • sCRUD the permission : by default in core can be : 'create','read','update','delete','import' or 'export'
  • iUserID the user id, if is null : actual user

Possible output

  • bPermission The permission to be returned (boolean). If null, LimeSurvey default permission is tested