Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all
I have a document type which renders as a tab on the page. Is there a way to restrict user access to this tab? I have thought of using Role Based authentication, but cant work out how to hide the tab if a user is in a specific role?
Hi Antony,
Try to see the documentation for MemberHelpers if you are working with Razor with frontend data. http://our.umbraco.org/documentation/Reference/Querying/UmbracoHelper/#MemberHelpers there a some funtions to check if a member is logged on.
Or try to see this documentation about membership helper too http://our.umbraco.org/documentation/reference/querying/membershiphelper/ or the MemberService http://our.umbraco.org/documentation/Reference/Management-v6/Services/MemberService
And here is a video about how to set role based authentication up in Umbraco, this video requires access to Umbraco TV. http://umbraco.tv/videos/umbraco-v7/content-editor/administrative-content/members/member-groups/ and http://umbraco.tv/videos/umbraco-v7/content-editor/administrative-content/members/role-based-protection/
Hope this helps,
/Dennis
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Role based Authentication
Hi all
I have a document type which renders as a tab on the page. Is there a way to restrict user access to this tab? I have thought of using Role Based authentication, but cant work out how to hide the tab if a user is in a specific role?
Hi Antony,
Try to see the documentation for MemberHelpers if you are working with Razor with frontend data. http://our.umbraco.org/documentation/Reference/Querying/UmbracoHelper/#MemberHelpers there a some funtions to check if a member is logged on.
Or try to see this documentation about membership helper too http://our.umbraco.org/documentation/reference/querying/membershiphelper/ or the MemberService http://our.umbraco.org/documentation/Reference/Management-v6/Services/MemberService
And here is a video about how to set role based authentication up in Umbraco, this video requires access to Umbraco TV. http://umbraco.tv/videos/umbraco-v7/content-editor/administrative-content/members/member-groups/ and http://umbraco.tv/videos/umbraco-v7/content-editor/administrative-content/members/role-based-protection/
Hope this helps,
/Dennis
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.