Headline News Control (Update)

13. April 2009 12:00 PM

After reviewed the comment from Prima, I notice it is a must capabilty to limit a dedicated group of user from accessing the NewsBar's admin console, especially in the multi editors environment.

Hence, I review the Newsbar code and decided to go one step further... instead of hardcoded the role in the code. I created a "Roles" property which allow webmaster to define which roles are allow to access the NewsBar's admin console, like we defined an link in the web.sitemap page as show in code snippet below.

 

ToDo...

   1:  <hz:NewsBar id="newsbar" runat="server" Roles="Administrators, Editors" />

If the Roles is set to "Administrators", then only those login user with the "Administrators" role can access the NewsBar management console, same as apply to "Editors". The default value is "Administrators, Editors", which is enabled for both administrators and editors user group.

To read more about this control, please visit this link...

 

Download Here... 

newsbar-freshcitrus.zip (9.94 kb)
newsbar-inove.zip (11.75 kb)
portraitpress.zip (8.90 kb)

 

BlogEngine.NET

Add comment




  Country flag

biuquote
Loading