User - Department Scenario

Topics: Administration, Customizing Orchard, Writing modules
Mar 11, 2014 at 7:51 AM

i'm very newbie in orchard and we trying to use it in our entire company, but i'm stucked with a scenario need your help just to put me on the right direction to start.

we need to develop a User - Department scenario which will have a many to many relationship,
also the department can be associated to higher level department (self joined),
then we need the role assignment to be based on the department level or the user level, and if role assigned to department it should generated to all users assigned to this department.

i just need to know weather this scenario can be created with orchard admin directly, or we need to write our custom code, and how can we start that in orchard,

thanks and regards.
Mar 12, 2014 at 7:13 PM
Regarding the user roles, this can be done from the admin, i.e. you can have roles for the departments, then assign permissions to these roles and finally add roles to users. But if you have a very complex hierarchy that you want to model inside Orchard on top of roles then I'm afraid you have to write some code.