Users are NOT shown on User Grid in Adminwhen they Expire from theyr Primary group

2 views
Skip to first unread message

Dmitry A.

unread,
Jan 15, 2010, 12:05:34 PM1/15/10
to In-Portal Bugs Team
I think I have came across the bug in User Grid (Admin) when users are
NOT shown on the list as soon as they expire from the their Primary
Group.

Here is Reproduction Recipe:

1. Register User as a Member on Front or Admin so his ONLY and Primary
group is "Members".

2. Make sure to define some Expiration date/time via Groups tab while
editing User in Admin.

3. Let user expire from his Primary Group and see if you can find it
in User Grid in Admin.


The problem is that tend to JOIN Users table with Groups with Primary
group condition which results in the error described above when
Primary group is not set so user is NOT the member on any Group.


Let me know if this is a bug.


DA.

Alexander Obuhovich

unread,
Jan 15, 2010, 1:09:32 PM1/15/10
to in-port...@googlegroups.com
This actually is not a bug sinceadministrators are users, who's primary group is "admin". In case if administrator looses this group, then he is shown as normal user in Users grid.

Best practice for group management is to keep user's/administrator's primary group with infinite expiration and add additional groups, that can expire. Such additional groups could be used to give extra permissions or subscriptions to the user or something like that.


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.






--
Best Regards,

http://www.in-portal.org
http://www.alex-time.com

Dmitry V. Andrejev

unread,
Jan 15, 2010, 2:05:30 PM1/15/10
to in-port...@googlegroups.com
Alex, I think you have misunderstood me here.

I was talking about regular non-admin Users listed under User grid in Administration Console.

I have created both task and patch - please test

540: Users are NOT shown on User Grid in Admin if Expired from their Primary group

http://tracker.in-portal.org/view.php?id=540

Please note that in this patch we are also putting back PrimaryGroup and CreatedOn columns to the Users Grid (for management purposes).


DA.

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.


-- 
With best regards,

Dmitry V. Andrejev
540-Users_NOT_shown_on_User Grid-Dmitry-20100115-v1.patch

Alexander Obuhovich

unread,
Jan 15, 2010, 2:55:52 PM1/15/10
to in-port...@googlegroups.com
Patch testes, ok.
What about hiding that new columns in simple interface preset?

We are preventing primary user group from being deleted, so I propose we disabled group expiration date field in case if user's primary group membership record is edited.

Dmitry V. Andrejev

unread,
Jan 15, 2010, 3:40:02 PM1/15/10
to in-port...@googlegroups.com
True, I haven't added it at first.

Please see the 2nd patch.

It's been committed into 5.0.3 and resolved in Issue tracker.


DA.
540-Users_NOT_shown_on_User Grid-Dmitry-20100115-v2.patch
Reply all
Reply to author
Forward
0 new messages