November Happy Hour will be moved to Thursday December 5th.

Virtual Role

Vote:
 

Newbie question coming up

I have created a Virtual Role "Employee" which returns true if the request comes from a specific ip address, and added it in web.config.

How can I use this to manage access right for a specific page (and its subpages) in Episerver? I can click on this page in Edit mode and set access rights, but in there I can only choose between created groups.

#46130
Nov 29, 2010 14:44
Vote:
 

Even though it's a virtual role, it must be created as a group in Admin mode, in order for anyone to use it for authentication.

After that, you add access rights as normal (like you described).

#46133
Nov 29, 2010 15:51
Vote:
 

so just create a group with the same name and then it's ready for use?

#46134
Nov 29, 2010 16:14
Vote:
 

Yes.

You can see it this way: its not the Role itself that is "virtual", its the memberships within it.

/johan

#46136
Nov 29, 2010 16:56
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.