Support » Plugin: Private groups » Assign groups – No Group – not functioning as expected

  • Resolved bckaz

    (@bckaz)


    Not sure if I might be setting something incorrectly, but I have a question — in the Private Group Settings — Assign groups to roles section — Assign group on every visit

    Each of the roles where I’ve set a group — works fabulously!

    However – I have one role “suspended” – where I’ve tried to set the option to “No Group” . . .
    I am expecting – that after the person logs in — there would be no assigned group, but that is not the case. The person is still assigned to the group that they were in – before their role was changed to “suspended”.

    It may be irrelevant — in that our “suspended” role pretty much locks them out of everything anyway. I guess I’m just wondering if there IS a way to “remove all groups” so that when the suspended user logs in, they will have no groups assigned to them.
    Maybe I’m just doing something wrong. ?

    Please let me know if I’m not explaining things clearly — and thanks, in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Robin W

    (@robin-w)

    hmm…interesting question. I am short of time at the moment to look, but suspect the code sees ‘no group’ as meaning ‘no action needed’, as it was written to assign, not unassign!

    You could try setting up a private group called say ‘suspended’ but do nothing with it, and allocating the role to that group. That way they would get a group that would not be allocated to any forums and therefore not have access to forums.

    if you try that, let me know if it works

    Wow – thanks for the super quick reply!
    Your answer – about it not being written to unassign makes perfect sense.
    AND – your suggestion works!

    I created a new group – “No Forums Access” Group . . . and set it to be assigned for the user role ‘suspended’ . . .
    And it works perfectly!
    THANK YOU!!!!

    • This reply was modified 11 months, 1 week ago by bckaz.
    Plugin Author Robin W

    (@robin-w)

    Great – glad you are fixed!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Assign groups – No Group – not functioning as expected’ is closed to new replies.