userconfig groups and privileges hard to use, fix included

Bug #156508 reported by Rudd-O on 2007-10-24
6
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
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

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.

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?

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.

Sebastian Kügler (sebasje) wrote :

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

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

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.

Rudd-O (rudd-o) wrote :

Done what you requested.

Rudd-O (rudd-o) wrote :

So how are we on acceptance of this patch?

Jonathan Riddell (jr) wrote :

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

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"

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
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  Edit
Everyone can see this information.

Other bug subscribers