Restricted CMS objects are hidden unless the visitor has been authenticated.
Returns
Boolean
- true
if this Obj
requires authentication to read its data.
See also
Indicates whether or not the Obj
is publicly accessible, i.e. visible to anonymous visitors.
obj = Scrivito.getClass("Report").all().first();
const publiclyReadable = !obj.isRestricted();
Restricted CMS objects are hidden unless the visitor has been authenticated.
Returns
Boolean
- true
if this Obj
requires authentication to read its data.
See also