When you click on a member in umbraco, is there a easy way to modify the content in the membergroups select field? I would like to achive the following. We have created a intranet site in umbraco, and all the members come from a active directory and they are synced with a service. I have isolated all the groups that are needed for the webapplication and its subapplications. I need all these groups to ensure that all the underlying applications can use the groups.
What I don't need is to show all the groups in the backend. With 170 groups it is really hard to work in the backend and i only need ~ 10 groups to what i wan't with the umbraco permission.
Can i somehow, clear some groups just from the select box?
Yup, it can be done, but you'll have to build a custom role provider and override the GetAllRoles() and probably also the IsUserInRole() methods and filter out all roles you don't want to display in the member group dual select box.
Thanks for the quick answer. I have don this before, but i do not like the solution. What i would like to do is just to "hide" som groups from the select box by javascript or something? I don't wan't to build a new provider.
All i really wan't to do is to remove some of the groups from the selectbox. I still wan't to use all the groups in my other applications the i have intregrated under umbraco. But to control the permissions on the umbraco pages i only need a handful of the groups.
Modifying membergroups select box
Hi,
When you click on a member in umbraco, is there a easy way to modify the content in the membergroups select field? I would like to achive the following. We have created a intranet site in umbraco, and all the members come from a active directory and they are synced with a service. I have isolated all the groups that are needed for the webapplication and its subapplications. I need all these groups to ensure that all the underlying applications can use the groups.
What I don't need is to show all the groups in the backend. With 170 groups it is really hard to work in the backend and i only need ~ 10 groups to what i wan't with the umbraco permission.
Can i somehow, clear some groups just from the select box?
Cheers
Yup, it can be done, but you'll have to build a custom role provider and override the GetAllRoles() and probably also the IsUserInRole() methods and filter out all roles you don't want to display in the member group dual select box.
Hope this helps.
Regards,
/Dirk
Hi Dirk,
Thanks for the quick answer. I have don this before, but i do not like the solution. What i would like to do is just to "hide" som groups from the select box by javascript or something? I don't wan't to build a new provider.
All i really wan't to do is to remove some of the groups from the selectbox. I still wan't to use all the groups in my other applications the i have intregrated under umbraco. But to control the permissions on the umbraco pages i only need a handful of the groups.
is working on a reply...