Documentation

setPermission

\Bitrix\Forum\Comments\Feed public
\Bitrix\Forum\Comments\Feed::setPermission(
 string $permission
);

Sets access permission level for an entity. Returns an entity. Access permission level:

  • А - no access
  • E - read only
  • I - response
  • M - topic creation
  • Q - moderation
  • U - message editing
  • Y - full access
Access level sequence: A < E < I < M < Q < U < Y.

Parameters

ParameterDescriptionVersion
$permissionAccess permission level: A,E,I,M,Q,U,Y.

Example



© «Bitrix24», 2001-2024
Up