Bug 456028

Summary: Expand System Settings -> Users with the capability of managing the user group membership
Product: [Applications] systemsettings Reporter: magni <fgrigore2003>
Component: kcm_usersAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: nate, nicolas.fella, ostroffjh, uhhadd
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: manage user group membershio application

Description magni 2022-06-27 11:45:02 UTC
Created attachment 150186 [details]
manage user group membershio application

SUMMARY
***
Feature request:
Expand System Settings -> Users with the capability of managing the user group membership

I have a very simple working application done in QT using Widget.
The logic is in a class and the visualization is done using a "treeWidget" (see attached image), but I don't know how to translate the visualization to QML and the code maintainer help will be required.

plasma-workspace/kcms/users/package/contents/ui/main.qml
***
Comment 1 Jack 2022-06-27 16:44:22 UTC
This doesn't sound like a KMyMoney issue, but I don't know what to assign it to, because it's not clear to me what you are actually asking for.
Comment 2 magni 2022-06-27 19:42:13 UTC
sorry I updated the product to systemsettings. 
Actually I am referring to plasma-workspace, but I could not find it in the list
Comment 3 Nicolas Fella 2022-06-27 23:11:14 UTC

*** This bug has been marked as a duplicate of bug 365787 ***
Comment 4 magni 2022-06-28 08:15:08 UTC
I created the application I need help to integrate it in plasma system settings.
Please provide me with guidance.
Comment 5 magni 2022-06-28 11:42:15 UTC
I uploaded the actual code on the github so the developers can take a look

https://github.com/magnificu/KDE-Plasma-User-Group-Membership.git
Comment 6 magni 2022-06-28 12:35:46 UTC
On the wiki page you can see how the actual implementation looks like.

https://github.com/magnificu/KDE-Plasma-User-Group-Membership/wiki

In order to implement it in Plasma Systems Settings only https://invent.kde.org/plasma/plasma-workspace/-/tree/master/kcms/users needs to be updated
Comment 7 Nate Graham 2022-06-28 13:35:48 UTC

*** This bug has been marked as a duplicate of bug 365787 ***
Comment 8 magni 2022-06-28 17:05:51 UTC
I need help to configure Qt Creator properly !!! Checked already in Wiki, but I did not figure it out...

I am using Manjaro and I have installed 
 - KDE Plasma: 5.24.5
 - KDE Framework: 5.95
 - Qt version: 5.15.5

 - I created an user an managed to fork plasma-workspace
...but when I load the CMakeList.txt file (I guess this is the project file) I get an warning: "Failed to load project"

When I open plasma-workspace/kcms/users/src/user.cpp the followin headers are missing:
#include "kcmusers_debug.h"
#include "user_interface.h"
#include <KLocalizedString>
#include <KWallet>
#include <QImage>
#include <QtConcurrent>

it is clear I am doing something wrong, but not sure what...
Any help is much appreciated
Comment 9 Jack 2022-06-28 17:20:59 UTC
Bugzilla is for reporting bugs and requesting enhancements.  It is not for asking for programming help.  You are much more likely to get a useful reply on a mailing list or forum.
Comment 11 magni 2022-06-28 18:20:16 UTC
A friendlier approach could encourage more people to get involved.
No good deed goes unpunished !

My code remains on the github in case you want to use it. I think it is a very simple and useful implementation.
Thanks for the support so far.