ez.no / exponential / documentation / reference / data fetching / content / can_instantiate_classes
fetch( 'content', 'can_instantiate_classes' [, hash( 'parent_node', parent_node ) ] )
| Name | Type | Description | Required |
|---|---|---|---|
| parent_node | object | Node to check if user can create new object in | no |
True if user can create object, false if not.
Check if the current user is allowed to create classes. If no parent_node is specified, the current node is cheked.
{fetch( 'content', 'can_instantiate_classes' )}
Returns true if current user is alowed to create objects in the current node.
Comments