This project is read-only.

Need to work with Roles, where do I edit

Topics: Business Logic Layer
Oct 18, 2009 at 12:49 AM

I have the BlogEngine.Net source as well as compiled version. Where would I edit to try to add functinality that adds different Roles, such as people who should be able to log in as Editors but not be able to each others posts. Either change the default Administrators and Editors roles, rename them to others, or add other Roles that have other privileges. I'm trying to build a blog that has multiple people log in and write posts but not have access to edit other users posts. So I wanted to know where to look and edit to have Roles and permission over post edits within the source and web editions and be able to customize that.


Oct 19, 2009 at 3:21 PM

Check out roles.xml and users.xml files in the ~/app_data folder. You can add users and assign roles through admin/users page, but roles currently can only be added manually to roles.xml file.