Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tommy Albinsson 121 posts 254 karma points
    Sep 27, 2011 @ 12:02
    Tommy Albinsson
    0

    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

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 27, 2011 @ 12:30
    Dirk De Grave
    0

    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

  • Tommy Albinsson 121 posts 254 karma points
    Sep 27, 2011 @ 12:52
    Tommy Albinsson
    0

    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.

  • Tommy Albinsson 121 posts 254 karma points
    Sep 27, 2011 @ 14:52
    Tommy Albinsson
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft