editor roles configuration Feature

Topics: Developer Forum, User Forum
Jul 30, 2008 at 10:19 AM

can anyone please explain me this feature which is new in v1.41. How can I define roles?
Jul 30, 2008 at 6:57 PM
Hi, use it like this:
      <editors users="" roles="Editors,OtherEditorRole"/>
      <administrators users="admin" roles="Administrators,OtherAdministratorRole" />

Most of the configuration options can be deduced from defaults.web.config.

Good luck
Jul 31, 2008 at 9:48 AM

ok. That's clear. But ...
is it possible to create new roles and assign them in the dialog

Edit user

<LABEL id=ctl00_Content_lblEmail for=ctl00_Content_txtEmail>Email</LABEL> <INPUT id=ctl00_Content_txtEmail value=test name=ctl00$Content$txtEmail>
<LABEL id=ctl00_Content_lblRoles for=ctl00_Content_cblRoles>Roles</LABEL>
<INPUT id=ctl00_Content_cblRoles_0 type=checkbox CHECKED value=on name=ctl00$Content$cblRoles$0><LABEL for=ctl00_Content_cblRoles_0>Everyone</LABEL>
<INPUT id=ctl00_Content_cblRoles_1 type=checkbox CHECKED value=on name=ctl00$Content$cblRoles$1><LABEL for=ctl00_Content_cblRoles_1>Editors</LABEL>
<INPUT id=ctl00_Content_cblRoles_2 type=checkbox value=on name=ctl00$Content$cblRoles$2><LABEL for=ctl00_Content_cblRoles_2>Administrators</LABEL>

Aug 2, 2008 at 11:33 AM
Hi, do you want to modify which roles are available? The roles are defined by the roles provider. In the templates project they can be changed if you enable "settings > display data items" and edit the roles node.