In-Portal Issue Tracker - In-Portal CMS
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Viewing Issue Advanced Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | ||||||||||||||||||||||||||||||||||||||||||||||||
1031 | [In-Portal CMS] Data Management | refactoring | always | 2011-04-03 11:16 | 2012-11-27 09:22 | ||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Reporter: | alex | Platform: | |||||||||||||||||||||||||||||||||||||||||||||||||||
Assigned To: | alex | OS: | |||||||||||||||||||||||||||||||||||||||||||||||||||
Priority: | normal | OS Version: | |||||||||||||||||||||||||||||||||||||||||||||||||||
Status: | closed | Product Version: | 5.1.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||
Product Build: | Resolution: | fixed | |||||||||||||||||||||||||||||||||||||||||||||||||||
ETA: | none | Fixed in Version: | 5.2.0-B1 | ||||||||||||||||||||||||||||||||||||||||||||||||||
Reference: | https://groups.google.com/d/topic/in-portal-dev/oo24plIxkJg/discussion https://groups.google.com/d/topic/in-portal-dev/uaTOwx0vAMc/discussion | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Change Log Message: | Moving UserGroup.PrimaryGroup field into PortalUser.PrimaryGroupId | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Estimate Points: | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary: | 0001031: User management internals refactoring | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Description: |
In-Portal has 2 sections, that are called "Users" and "Administrators". These sections are used to manage users and administrators. In fact both users and administrators are stored in a PortalUser table. Only users who have set "admin" as their primary group are displayed under "Administrators" section. All other users are displayed under "Users" section. It works perfectly until regular In-Portal administrator wants to set another group (not "admin") as primary group for any of website administrators. At that moment that administrator suddenly is no longer displayed in "Administrators" section and is displayed in "Users" section. This is bad, because user and administrator editing forms have a lot of differences. Also it's not obvious to an administrator, why he can't remove "admin" group from administrator's group list and add another group in it's place. Proposition #1: distinguish admin or user not based on user's group, but based on new UserType field in PortalUser table (0 - user, 1 - admin, 2 - new ...). Also, when "GroupId" virtual field is displayed on user registration form, then user will have selected group as primary instead of "Member" group. This way permission change in "Member" group won't have any effect on such users. This is a logical error, since "Member" group is specified in configuration variable called "Assign registered users to group". Then user is registered, but still isn't in "Member" group. Proposition #2: add Member/admin group (id is retrieved from appropriate configuration variables) to user groups in session (not to UserGroup table) based on newly added PortalUser.UserType column after successful login. Proposition #3: Transform UserGroup.PrimaryGroup field into PortalUser.PrimaryGroupId. This way user's primary group will be stored in PortalUser.PrimaryGroupId (will be NULL by default). Display "primary icon" on "Groups" tab during user/admin editing by comparing group id being printed to group id from user record. Also "Set Primary" functionality will be changed. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Steps To Reproduce: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Additional Information: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Relationships |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Attached Files: |
![]() http://tracker.in-portal.org/file_download.php?file_id=1061&type=bug ![]() http://tracker.in-portal.org/file_download.php?file_id=1062&type=bug ![]() http://tracker.in-portal.org/file_download.php?file_id=1063&type=bug ![]() http://tracker.in-portal.org/file_download.php?file_id=1064&type=bug ![]() http://tracker.in-portal.org/file_download.php?file_id=1869&type=bug ![]() http://tracker.in-portal.org/file_download.php?file_id=1870&type=bug |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Issue History | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||||||||||||||||||||||
2012-11-27 09:22 | alex | File Added: user_group_storage_modules_513.patch | |||||||||||||||||||||||||||||||||||||||||||||||||||
2012-11-27 09:21 | alex | File Added: user_group_storage_core_v2_513.patch | |||||||||||||||||||||||||||||||||||||||||||||||||||
2012-07-25 05:33 | alex | Note Added: 0005075 | |||||||||||||||||||||||||||||||||||||||||||||||||||
2012-07-25 05:33 | alex | Status | resolved => closed | ||||||||||||||||||||||||||||||||||||||||||||||||||
2012-02-06 03:31 | alex | Relationship added | related to 0001202 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-10-22 05:41 | alex | Estimate Points | => 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-08-10 05:11 | alex | Relationship added | related to 0001095 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-08 10:43 | alex | Target Version | Icebox => 5.2.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-08 06:29 | alex | Relationship added | parent of 0001080 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 13:02 | alex | Note Edited: 0003598 | bug_revision_view_page.php?bugnote_id=0003598#r749 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 13:00 | alex | Note Added: 0003600 | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 13:00 | alex | Status | reviewed and tested => resolved | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 13:00 | alex | Fixed in Version | => 5.2.0-B1 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 13:00 | alex | Resolution | open => fixed | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 13:00 | alex | Assigned To | !COMMUNITY => alex | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 13:00 | alex | Changeset attached | 5.2.x r14437 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 12:59 | alex | Note Added: 0003599 | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 12:59 | alex | Status | needs testing => reviewed and tested | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 12:59 | alex | File Added: user_group_storage_core_v2.patch | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 11:03 | alex | Changeset attached | 5.2.x r14436 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 11:03 | alex | Changeset attached | 1.2.x r14435 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 10:57 | alex | Note Added: 0003598 | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 10:57 | alex | Assigned To | => !COMMUNITY | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 10:57 | alex | Developer | => alex | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 10:57 | alex | Status | active => needs testing | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 10:51 | alex | File Added: user_group_storage_themes.patch | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 10:51 | alex | File Added: user_group_storage_modules.patch | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 10:51 | alex | File Added: user_group_storage_core.patch | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 09:58 | alex | Relationship added | parent of 0000823 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 09:21 | alex | Relationship added | parent of 0001078 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 08:53 | alex | Relationship added | parent of 0000941 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 08:08 | alex | Note Edited: 0003589 | bug_revision_view_page.php?bugnote_id=0003589#r746 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 07:39 | alex | Relationship added | parent of 0000944 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 07:38 | alex | Relationship replaced | parent of 0000907 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 07:37 | alex | Relationship added | related to 0000907 | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-07-07 04:19 | alex | Note Added: 0003589 | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-04-03 11:16 | alex | New Issue | |||||||||||||||||||||||||||||||||||||||||||||||||||
2011-04-03 11:16 | alex | Reference | => https://groups.google.com/d/topic/in-portal-dev/oo24plIxkJg/discussion https://groups.google.com/d/topic/in-portal-dev/uaTOwx0vAMc/discussion | ||||||||||||||||||||||||||||||||||||||||||||||||||
2011-04-03 11:16 | alex | Change Log Message | => Moving UserGroup.PrimaryGroup field into PortalUser.PrimaryGroupId |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|