ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM module: How to restrict the user to specific selected sites?

November 06, 2012 8:35am

Subscribe [2]
  • #1 / Nov 06, 2012 8:35am

    Hi,
     
      I am using EE v2.5.3 with Multi Site Manager module. I would like to know the process to restrict(ban) the user to specific selected sites alone? I tried to do this with the user role - banned. But, it didn’t worked out right.

    Kindly respond me as earliest as possible. Thank you.

  • #2 / Nov 07, 2012 2:38am

    I haven’t received any reply or response from any support guys in EE forums. So, does it means that ExpressionEngine does not support blocking(ban) the user to specific selected sites alone? Can I have response for this query atleast? Thank you.

  • #3 / Nov 07, 2012 3:35pm

    Shane Eckert

    7174 posts

    Hey Thibaut,

    Thank you for posting your question and welcome to the ExpressionEngine forums!

    We do our best to answer these threads as they come in. We guarantee a response within two business days. I know when you have a pressing issue that the two day response time can be frustrating.

    The best way to approach your goal is to use groups. You can limit groups to one site and not another. In the Member Group Management section of the Control Panel, the top will have a selector for which site each group has perms for.

    Does that make sense?

    Cheers,

  • #4 / Nov 08, 2012 7:27am

    Hey Shane,

            Thanks for your response. To make a point, I created this thread only after failing with Member Groups. I’ve detailed down my cases of failure with member groups, check to it.

    Case 1:

    In this case, I assigned different roles under member group for single user.

    Am aware an user is common throughout the application to N number of sites created(with MSM module) and our requirement also demands the same.

    I had two sites, let us assume X and Y with user named ‘Peter’. In site X and Y, I created new permission roles ‘Xperm’ and ‘Yperm’ respectively. Consecutively, in site X, assigned Peter to role Xperm. Similarly, in site Y, Peter was assigned to role Yperm.

    In this way, I was able to found out only the bug within ExpressionEngine core or MSM module and not the solution for my requirement. For your referrence, I have attached the screenshot image with this post. Kindly check to it

    Case 2:

    In this case, I kept a common role and tried to configure the options with respect to site.

    I created a new role ‘Xperm’ in site X. Then, I created the site Y, from site X, which had role ‘Xperm’ in default. I took two users by name ‘Sam’ and ‘Peter’, assigned both to single role ‘Xperm’. This case too didn’t help me to find a solution. I have attached an image(case-2-study.png) to explain my requirement. I tried my best to find a solution, but I didn’t.

    Similarly, I tried to sort out this problem with different cases, but nothing worked good for me. Kindly refer to the case 2 attached image and try to get me a solution for it. Any help would be appreciated. Thanks in advance.

  • #5 / Nov 08, 2012 4:13pm

    Shane Eckert

    7174 posts

    Hey Thibaut,

    Thank you for all that information.

    For case 1 - you will need this fix. But even with the fix I do not think things will work as you are thinking.

    It’s all groups or nothing. There is no access restriction based on users or “roles”. It has to be done using groups.

    So just to make sure we are on the same page.

    Users exists across all sites.
    Groups do as well, but you can fine tune what each group is allowed to do in each site.

    That’s about it.

    Does that make sense?

    Cheers,

  • #6 / Nov 09, 2012 5:14am

    Hey Shane,

    Thanks again for your response. But it’s disappointing. I can see only your suggestions instead of solutions.

    It’s all groups or nothing.

    Users exists across all sites.
    Groups do as well, but you can fine tune what each group is allowed to do in each site.

    I once again request you to try my case(using the criteria attachment in previous post) and respond me, whether my requirement is possible with ExpressionEngine or not. Thanks in advance!

  • #7 / Nov 12, 2012 12:56pm

    Shane Eckert

    7174 posts

    Hi Thibaut,

    I am sorry you are disappointed with my response. I am trying to be clear that your use cases will not work with ExpressionEngine. There are no roles in ExpressionEngine, only groups. Restricting access to just one site is not going work per role. Each group will have different or the same settings per site, depending on how you choose to configure that

    You requirement is not possible.

    I wish I had a better answer for you.

    Have a great week. If there is anything else I can help you with, please let me know!

    Thank you,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases