userconfig groups and privileges hard to use, fix included

Bug #156508 reported by Rudd-O
6
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The userconfig screen has a rather cryptic secondary group configuration. I have included a bit-rewritten userconfig script as an attachment which adds a new tab for secondary groups and privileges (the privilege list needs to be expanded, clearly). It's mostly feature complete but it actually needs something very important: the secondary groups list needs to be updated when the primary group is changed in the other user edit window tab, and I don't really know how to do that.

Please diff it against the new code. My edits are clearly marked RRR and FIXME if there's anything needing a fix. Hoep this helps.

Related branches

Revision history for this message
Rudd-O (rudd-o) wrote :

The script. I would have made a diff but I overwrote the old file. At least let's give python kudos for making it so much easier to edit software inplace.

Revision history for this message
Rudd-O (rudd-o) wrote :

I'd appreciate if someone pinged me if this is accepted as working code. Thanks.

Oh, credits would also be sorely appreciated.

You rule guys. Thanks for the help. Oh, and keep poking me for more enhancements like this -- what would be another low-hanging fruit for me to eat?

Revision history for this message
BigPick (wpickard) wrote :

I can confirm that this script works as advertised.

This script resolves one of my biggest pet peeves with the user management in Kubuntu. I love the ability to assign permissions and groups upon user creation.

Revision history for this message
Sebastian Kügler (sebasje) wrote :

Very cool, I'll review and commit (assuming it looks good).

In case I forget, please nag me. :-)

Revision history for this message
Jonathan Riddell (jr) wrote :

Hi, patch looks good. It lacks i18n() around the strings, that's important for translations. Also administration should be admin (I'm not sure what adm does, maybe it should be both groups).

Please submit as a patch, you can checkout current svn /branches/extragear/kde3/utils/guidance/userconfig/ (google for kde anonsvn) , edit then svn diff for the patch.

Revision history for this message
Rudd-O (rudd-o) wrote :

Done what you requested.

Revision history for this message
Rudd-O (rudd-o) wrote :

So how are we on acceptance of this patch?

Revision history for this message
Jonathan Riddell (jr) wrote :

I've asked tonio to look at this, he did the last guidance upload. Sorry for the delay.

Revision history for this message
Rudd-O (rudd-o) wrote : Re: [Bug 156508] Re: userconfig groups and privileges hard to use, fix included

thx, Jonathan. Any other task you would like me to tackle?

El Dom 06 Ene 2008, Jonathan Riddell escribió:
> I've asked tonio to look at this, he did the last guidance upload.
> Sorry for the delay.

--

 Manuel Amador (Rudd-O) <email address hidden>
 Rudd-O.com - http://rudd-o.com/
 GPG key ID 0xC8D28B92 at http://wwwkeys.pgp.net/

Now playing, courtesy of Amarok: Bamboo - Bamboogie (radio edit)
What good is an obscenity trial except to popularize literature?
  -- Nero Wolfe, "The League of Frightened Men"

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde-guidance - 0.8.0svn20080103-0ubuntu1

---------------
kde-guidance (0.8.0svn20080103-0ubuntu1) hardy; urgency=low

  * New svn snapshot, includes fixes for .pot file
  * Add kubuntu_07_powermanager_i18n.patch:
    - guidance-power-manager.py loads the correct .pot file
  * Cleaned debian/rules:
    - Installs the *.py files generated with i18n options in it
  * Fixed debian/control, for good build-depends on python-kde3:
    - Build needs a patched kdepyuic
  * Added patch kubuntu_08_nice_groups_and_privileges.patch:
    - Fixes LP: #156508
    - Patch by Manuel Amador <email address hidden>

 -- Anthony Mercatante <tonio@kubuntu> Thu, 03 Jan 2008 22:37:28 +0100

Changed in kde-guidance:
status: New → Fix Released
Revision history for this message
Rudd-O (rudd-o) wrote :

Thanks, guys. I'm happy that I've been able to contribute with code to Kubuntu for the first time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.