This project is read-only.

Is there any Role management features?

Feb 14, 2008 at 6:46 PM
I've been lookin and looking, and it only appears that there are Editors and Administrators precoded into the BlogEngine. Has anyone created a simple way to add roles, and then aloow roles to certain features? I really like this but hesitate to modify my code version too much with fear of loosing a lot of it when a new version is released.
Feb 17, 2008 at 5:46 AM
Not yet, but there probably will be soon.

It's easy to do though, if you use the XML Provider you can just modify ~/App Data/Roles and add your Role in. Then restart your IIS server / appliation pool and then the change should show up.

Restricting roles is as easy as doing

if (User.IsInRole("blah"))

if I remember right, I don't have visual studio open at the moment, but that sounds right.