<if access-path></if>
Provided by module: CMS: Tags
Test what access a user has to a directory or file protection point.
Attributes
- access-path="path"
-
The protection point to test. If there is no protection point on the
given path, the path is searched towards the root for the controlling
protection point.
- identity="{handle, id}"
-
The identity to check the permission for. If omitted, the currently
logged on user is used.
- none
-
The check will be true if the user has no permission to the
protection point.
- read
-
The check will be true if the user has read permission to the
protection point.
- write
-
The check will be true if the user has write permission to the
protection point.
Note that the none, read and write
attributes can be combined. <if access-path='/foo' read=''
write=''/> could be used to give access to everyone that has
either read or write access to the protection point /foo.