10-08-2012 02:30 PM
10-09-2012 02:24 AM
var userIsSiteCollaborator =false;
var json = remote.call("/api/sites/" + siteId + "/memberships/" + encodeURIComponent(user.name));
if (json.status == 200)
{
var obj = eval('(' + json + ')');
if (obj)
{
userIsSiteCollaborator = (obj.role == "SiteCollaborator");
}
}
10-09-2012 07:48 AM
<#if havePermission>
<meta http-equiv="REFRESH" content="0;url=http://someurl.com">
</#if>
Do you have any idea how to redirect the user or better throw an exception of no right to access?
10-10-2012 06:58 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.