View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18294 | Bug reports | User / Groups / Roles | public | 2022-07-29 10:16 | 2023-10-23 20:58 |
Reporter | DenisChenu | Assigned To | gabrieljenik | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | reopened | ||
Product Version | 5.3.x | ||||
Summary | 18294: User can not see group created and user in group created | ||||
Description | When user create a new group in 3.X , he was automatically added to this group (and can not remove himself). | ||||
Steps To Reproduce | Steps to reproduce
1 as super admin
Expected resultUser was in list (and can not be remoced) Actual resultuser are not in list | ||||
Additional Information |
| ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 5.3.28 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | not relevant | ||||
Webserver software & version (if known) | not relevant | ||||
PHP Version | not relevant | ||||
related to | 18289 | confirmed | User with group creation allowed can not see is own group | |
related to | 18281 | closed | tibor.pacalat | Users in group are not deleted |
This one is more easy to fix without potentially broke existing code. The other need fix :
|
|
Well, you are asuming this is bug. |
|
In 3.X , user can create a group and be removed from group by super admin : then need a owner_id update In 5: user can not see the group after creation… |
|
@ollehar : see other ticket, way to resolve and owner_id issues With usercontrolSameGroupPolicy
In 5.X :
See : https://bugs.limesurvey.org/view.php?id=18281#c71525 My opinion :
|
|
PLease solve it this way: For LS5: For LS6: |
|
Then : need a Permission system adding owner_id in Group model. Right ? |
|
Pull request from Aug 26, 2022 … |
|
@DenisChenu what is the status of this ticket? I see one PR https://github.com/LimeSurvey/LimeSurvey/pull/2581 but it is not clear to me how should I proceed. |
|
I need toi update for last 5.X |
|
Ready for 5.X |
|
5.X : https://github.com/LimeSurvey/LimeSurvey/pull/2581 |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35563 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35564 |
|
Tested and merged. |
|
Fixed in Release 6.2.10+231004 |
|
Unluckily, the v6 PR didn't considered a refactorying we have done. Why our refactoring got lost? Not sure what's the best way to handle this. What do you think? |
|
It's about getUserList and protected static function getPermissionCriteria ? Right ? Then best seems to include Permission::Trait , But totally related to User Permission (update/delete) |
|
V6 PR do the minimal update to fix this issue. The getpermissionCriterai is realted to whole Permission system for User |
|
LimeSurvey: 5.x db85fde5 2023-10-02 19:13 Committer: GitHub Details Diff |
Fixed issue 18294: User was not added to group created automatically (#2581) |
Affected Issues 18294 |
|
mod - application/controllers/UserGroupController.php | Diff File | ||
LimeSurvey: master f83e0e83 2023-10-02 19:20 Committer: GitHub Details Diff |
Fixed issue 18294: User can not see group created and user in group created (#3504) |
Affected Issues 18294 |
|
mod - application/helpers/common_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-07-29 10:16 | DenisChenu | New Issue | |
2022-07-29 10:16 | DenisChenu | Assigned To | => DenisChenu |
2022-07-29 10:16 | DenisChenu | Status | new => confirmed |
2022-07-29 10:16 | DenisChenu | Relationship added | related to 18289 |
2022-07-29 10:18 | DenisChenu | Note Added: 71240 | |
2022-07-29 10:18 | DenisChenu | Bug heat | 0 => 2 |
2022-07-29 10:18 | DenisChenu | Status | confirmed => assigned |
2022-07-29 10:19 | DenisChenu | Priority | none => normal |
2022-08-26 19:23 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
2022-08-26 19:23 | DenisChenu | Status | assigned => ready for code review |
2022-08-26 19:44 | gabrieljenik | Note Added: 71535 | |
2022-08-26 19:44 | gabrieljenik | Bug heat | 2 => 4 |
2022-08-27 19:40 | DenisChenu | Note Added: 71541 | |
2022-08-29 15:22 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
2022-08-29 15:28 | DenisChenu | Status | ready for code review => ready for testing |
2022-09-01 13:26 | DenisChenu | Steps to Reproduce Updated | |
2022-09-01 13:26 | DenisChenu | Additional Information Updated | |
2022-09-09 16:24 | DenisChenu | Assigned To | DenisChenu => ollehar |
2022-09-09 16:24 | DenisChenu | Status | ready for testing => ready for merge |
2022-09-09 16:24 | DenisChenu | Note Added: 71667 | |
2022-09-09 16:24 | DenisChenu | Relationship added | related to 18281 |
2023-05-30 14:49 | c_schmitz | Note Added: 75254 | |
2023-05-30 14:49 | c_schmitz | Bug heat | 4 => 6 |
2023-05-30 18:46 | DenisChenu | Note Added: 75265 | |
2023-05-30 18:47 | DenisChenu | Note Added: 75266 | |
2023-09-28 14:12 | tibor.pacalat | Note Added: 77398 | |
2023-09-28 14:12 | tibor.pacalat | Bug heat | 6 => 8 |
2023-09-28 15:01 | DenisChenu | Note Added: 77405 | |
2023-10-02 08:50 | DenisChenu | Assigned To | ollehar => DenisChenu |
2023-10-02 08:50 | DenisChenu | Status | ready for merge => assigned |
2023-10-02 10:23 | DenisChenu | Note Added: 77457 | |
2023-10-02 10:23 | DenisChenu | Note Edited: 77457 | |
2023-10-02 11:06 | DenisChenu | Summary | User was not added to group created automatically => User can not see group created and user in group created |
2023-10-02 11:10 | DenisChenu | Note Added: 77458 | |
2023-10-02 12:26 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
2023-10-02 12:26 | DenisChenu | Status | assigned => ready for code review |
2023-10-02 14:53 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
2023-10-02 14:53 | gabrieljenik | Status | ready for code review => ready for testing |
2023-10-02 16:37 | DenisChenu | Assigned To | DenisChenu => tibor.pacalat |
2023-10-02 17:13 | DenisChenu | Changeset attached | => LimeSurvey 5.x db85fde5 |
2023-10-02 17:13 | DenisChenu | Note Added: 77469 | |
2023-10-02 17:13 | DenisChenu | Assigned To | tibor.pacalat => DenisChenu |
2023-10-02 17:13 | DenisChenu | Resolution | open => fixed |
2023-10-02 17:20 | DenisChenu | Changeset attached | => LimeSurvey master f83e0e83 |
2023-10-02 17:20 | DenisChenu | Note Added: 77470 | |
2023-10-02 17:20 | tibor.pacalat | Status | ready for testing => resolved |
2023-10-02 17:20 | tibor.pacalat | Note Added: 77471 | |
2023-10-04 11:28 | LimeBot | Note Added: 77498 | |
2023-10-04 11:28 | LimeBot | Status | resolved => closed |
2023-10-04 11:28 | LimeBot | Bug heat | 8 => 10 |
2023-10-20 14:44 | gabrieljenik | Note Added: 77806 | |
2023-10-20 16:16 | DenisChenu | Status | closed => feedback |
2023-10-20 16:16 | DenisChenu | Resolution | fixed => reopened |
2023-10-20 16:17 | DenisChenu | Note Added: 77815 | |
2023-10-20 16:19 | DenisChenu | Note Added: 77816 | |
2023-10-20 16:19 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
2023-10-23 20:58 | gabrieljenik | Status | feedback => closed |