From Fedora Project Wiki
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= User Account Dialog =
= Finestra di dialog per account utente =


== Sommario ==
== Sommario ==
Un nuovo strumento di dialogo per creare utenti e modificare informazioni sugli utenti per sistemi mono-utenti o piccoli sistemi.
Un nuovo strumento di dialogo per creare utenti e modificare informazioni sugli utenti per sistemi mono-utenti o piccoli sistemi.


== Progettista ==
== Progettista ==


* Name: [[User:mclasen| Matthias Clasen]], [[User:rstrode| Ray Strode]]
* Nome: [[User:mclasen| Matthias Clasen]]
* Email: mclasen@redhat.com, rstrode@redhat.com
* Email: [mailto:mclasen@redhat.com mclasen@redhat.com]
* Nome: [[User:rstrode| Ray Strode]]
* Email: [mailto:rstrode@redhat.com rstrode@redhat.com]


== Stato corrente ==
== Stato corrente ==
* Targeted release: [[Releases/13 | Fedora 13 ]]  
* Release: [[Releases/13 | Fedora 13 ]]  
* Last updated: 2010-01-12
* Per informazioni aggiornate sullo stato di ''Features/UserAccountDialog'' consultare la [[Features/UserAccountDialog#Current_status | pagina originale]].
* Percentage of completion: 40%
 
[[Image:Avatarmock-2-whiteboard.png | right | link="http://fedoraproject.org/w/uploads/b/b3/" | 250px]]
Il progetto nasce da idee e osservazioni che risalgono alla primavera del 2008. Di seguito si riportano le idee così come si vennero formando:


We have lots of (somewhat dated) design and scoping work that was done in Spring 2008: http://people.redhat.com/mclasen/user-account3.pdf.bz2. Here are some more sketches from back then: http://fedoraproject.org/wiki/Features/ImprovedUserManagementUI. Glade files for some of the mockups are here: http://people.fedoraproject.org/~mccann/design/user_accounts/. Earlier discussion around this idea happened here: https://www.redhat.com/archives/fedora-desktop-list/2008-May/msg00006.html
http://people.redhat.com/mclasen/user-account3.pdf.bz2<BR>
http://fedoraproject.org/wiki/Features/ImprovedUserManagementUI: alcuni schizzi delle idee da concretizzare<BR>
http://people.fedoraproject.org/~mccann/design/user_accounts/: alcuni file Glade<BR>
https://www.redhat.com/archives/fedora-desktop-list/2008-May/msg00006.html: precedenti discussioni sul progetto


Ubuntu seem to be plan working on something similar, see https://wiki.ubuntu.com/DesktopTeam/Specs/Lucid/UserAccountManagement
Anche Ubuntu sembra stia progettando qualcosa di simile, vedi<BR> https://wiki.ubuntu.com/DesktopTeam/Specs/Lucid/UserAccountManagement


Matthias has been putting together a prototype implementation of the original design. Tarballs can be found [http://mclasen.fedorapeople.org/accounts/ here]. Git repositories
Matthias sta implementando un prototipo del progetto originale. I tarballs si trovano [http://mclasen.fedorapeople.org/accounts/ quì]. I repositorie Git sono questi:
are here:
* ssh://git.freedesktop.org/git/accountsservice
* ssh://git.freedesktop.org/git/accountsservice
* ssh://git.gnome.org/git/accounts-dialog
* ssh://git.gnome.org/git/accounts-dialog
The code currently supports editing user information only, not groups. The dialog has the UI for login options, but it doesn't do anything because gdm lacks the necessary API. The dialog uses the apg utility to generate (somewhat) memorable passwords. The D-Bus service uses the useradd, userdel
and usermod tools to do changes, and per-user files in /var/lib/AccountsService to store non-passwd user data, such as password hints and user photos.


Next steps:
Il codice, allo stato attuale, consente di modificare solo le informazioni degli utenti, non dei gruppi. La finestra di dialogo ha un'interfaccia utente per impostare le opzioni di login, ma per ora è inattiva in quanto la gdm è priva delle necessarie API. La finestra impiega l'utility apg per generare password ''quasi'' memorabili. Il servizio D-Bus usa useradd, userdel
* proper project infrastructure
e usermod per le modifiche, e i file in /var/lib/AccountsService per conservare i dati utente che non richiedono password, come suggerimenti per buone password o foto degli utenti.
* packages
* implement login options api in gdm
* integration: make e.g. evolution, clock applet, gdm pick up user data from the service


== Detailed Description ==
Prossimi obiettivi:
The goal of this feature is create a single tool that allows to create new users and edit user-related information in single-user systems or small deployments. Big deployments and enterprise-level systems are not a target (we think those are better-served with a web interface for their directory server...).
* trovare la collocazione all'interno dell'infrastruttura di progetto
* realizzare i pacchetti
* implementare le opzioni di login in gdm con le necessarie API
* integrazione: consentire p.e. ad evolution, all'applet orologio, o a gdm di recuperare i dati utente dal servizio


The tool will (at least partially) replace the functionality of several existing components, such as system-config-users, gnome-about-me, the former gdmsetup, firstboot, the former polkit-gnome-authorization...
== Descrizione Dettagliata ==


Use cases that we hope to cover are:
L'obiettivo di questo progetto è di creare un singolo strumento capace di creare nuovi utenti e di modificare le informazioni relative agli utenti in sistemi mono-utenti o piccoli sistemi. I sistemi più grandi ed enterprise non sono un obbietivo presente (si ritiene che questi siano meglio gestibili attarverso un interfacce web del server ...).
* Creating the first user when the system boots for the first time
* Editing your own account data
* User account maintenance
* Configuring the login screen
* Temporary access to the system (guest account)


The dialog will rely on a system bus service to access and store user and group data.
Il dipositivo sostituirà (almeno in parte) le funzionalità di diversi componenti esistenti, come system-config-users, gnome-about-me, gdmsetup, firstboot, e polkit-gnome-authorization, tra gli altri.
Longer-term, the hope is that [[Features/SSSD | SSSD]]s InfoPipe can serve as the backend for this. In the short term, we need a standalone implementation, which will
* be good enough for the single-user and local scenarios
* avoid blocking on InfoPipe
* allow experiments with the API
* help with upstream acceptance


A very rough sketch of the required API could look like this:
== Vantaggi per Fedora ==
* list cached users
Una finestra di dialogo mancava da molto tempo. Tale finestra renderà il desktop Fedora più completo e ridurrà il gap dagli altri S.O.
* get user by uid
* get user by name
* list groups
* get group by gid
* get group by name
* create user
* delete user
* create group
* delete group
* add user to group
* remove user from group
* list groups for user
* list users for group
* user attributes: uid, name, real name, display name, home dir, shell, login frequency, locale, keyboard, email, icon, password hint, role
* group attributes: gid, name


Some of these will be privileged operations. Users will normally be allowed to set their own 'personal' data like real name, locale, keyboard, email, icon, password hint. Some of the attributes may be read-only, like uid and gid.
== Note di rilascio ==
 
Fedora 13 includes a new user account dialog. It lets you create and modify user accounts and setup basic user information such as privileges, email addresses, user photo, etc. The new dialog supersedes functionality that was previously available in a variety of tools, such as system-config-user, gnome-about-me, gdmsetup and polkit-gnome-authorization, and makes it available in one place.
Listing cached users is named that way to indicate that this is not meant to be a sync call to get a list of all users, which could be prohibitively expensive and slow in a networked scenario with a large directory service. Instead, the intention is to return a subset of users that has some relevance to the local system, e.g. only users that have logged into the local system within some timeframe. When the service gets reimplemented on top of InfoPipe, it may be advised to add a separate function to query users async and optain the results incrementally.
 
== Benefit to Fedora ==
A user account dialog has been missing for a long time.
It will make the Fedora Desktop more complete and narrow the gap to other operating systems.
 
== Scope ==
* A dbus service providing user data needs to be written.
* The dialog itself needs to be written.
* Several desktop components should be modified to use the service as well, the most prominent one is gdm, followed by applications that maintain user-related data, such as evolution or empathy
* gdm needs to be modified to support setting passwords at first login, password hints, and disabled accounts
 
Note that this page describes the changes in the desktop spin related to this feature. Other spins, such as the KDE or Xfce spins, can of course use the DBus service in their own user management tool or just continue to use system-config-user. If people are willing to work on this for other spins, the scope of the feature can be extended.


== How To Test ==
== Altre informazioni ==  
# Verify that gnome-about-me ('About me') and system-config-user ('Users and Groups') have been replaced by a single new menuitem ('Account management' or similar).
Per:
# Open the user account dialog. It should show you your own account data. Verify that you are able to change your own settings, such as user name or password. Verify that changing your account type requires privileges.
* Obiettivi
# Create a new account with the 'Add' button. Verify that this action requires privileges.
* Test Plan
# Test that the various password generation policies work as  intended (ie 'Random password' should generate something that looks random, and 'Memorable password' should generate something memorable)
* Esperienza Utente
# Verify that selecing 'Choose password at next login' has the desired effect at the next login
* Dipendenze
# Verify that 'Disable this account' has the desired effect
* Progetto corrente
# Verify that password hints are displayed when necessary on the login screen
* Documentazione
# Delete an account with the 'Remove' button. Verify that this action requires privileges.
* Commenti e Discussioni
# On the 'Login options' screen, enable autologin for your account (this requires privileges). Verify that you are automatically logged in after the next reboot
# Verify that changes to your account data (such as the icon or the user name) are reflected in the user switcher applet and in applications like evolution or emphathy)


== User Experience ==
consultare la [[Features/UserAccountDialog | pagina originale]] di questo documento.
Users will have a single place to edit their account data and similar user-related data.
 
[[Image:Screenshot-Overview.png|frame|none|Overview]]
[[Image:Screenshot-Set-Password.png|frame|none|Setting a password]]
[[Image:Screenshot-Generate-Password.png|frame|none|Generating a password]]
[[Image:Screenshot-Language.png|frame|none|Setting the users language]]
[[Image:Screenshot-Photo-Gallery.png|frame|left|The icon selection popup]][[Image:Screenshot-Photo-Crop.png|frame|right|Webcam capture and cropping]]
[[Image:Screenshot-Login-Options.png|frame|none|Login options]]
 
TBD: fingerprint screenshots
 
== Dependencies ==
* SSSD: The DBus service would ideally rely on SSSD for most of its data storage needs. If SSSD is not ready or does not provide what we need, we can temporarily use our own data storage.
* PolicyKit: We want the dialog to be able to assign privileges/roles to users, for which we will rely on PolicyKit. PolicyKit 1.0 in F12 already provides the necessary framework for group-based policies (see the polkit-desktop-policy package), but minor adjustments might be necessary.
* gdm: We want the dialog to be able to configure certain aspects of the login, e.g. autologin. gdm needs to provide some interface for this.
* The dialog (partially or fully) supersedes the functionality of several existing components: system-config-users, gnome-about-me, the former gdmsetup, firstboot. We will want to avoid shipping the superseded components in the desktop spin, which might require some dependency surgery (e.g. currently anaconda pulls in system-config-users).
 
== Contingency Plan ==
Stay with the current set of tools.
 
Alternatively, if the accounts-dialog lacks some important feature, we can include it but still ship the current tools.
 
== Documentation ==
None yet.
 
== Release Notes ==
Fedora 13 includes a new user account dialog. It lets you create and modify user accounts and setup basic user information such as privileges, email addresses, user photo, etc. The new dialog supersedes functionality that was previously available in a variety of tools, such as system-config-user, gnome-about-me, gdmsetup and polkit-gnome-authorization, and makes it available in one place.


== Comments and Discussion ==
[[Category:Italiano]]
* See [[Talk:Features/UserAccountDialog]]
[[Category:F-13 Features IT|{{SUBPAGENAME}}]]


[[Category:FeatureAcceptedF13]]
[[Category:FeatureAcceptedF13]]
<!-- When your feature page is completed and ready for review -->
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 23:23, 31 August 2010

Finestra di dialog per account utente

Sommario

Un nuovo strumento di dialogo per creare utenti e modificare informazioni sugli utenti per sistemi mono-utenti o piccoli sistemi.

Progettista

Stato corrente

Avatarmock-2-whiteboard.png

Il progetto nasce da idee e osservazioni che risalgono alla primavera del 2008. Di seguito si riportano le idee così come si vennero formando:

http://people.redhat.com/mclasen/user-account3.pdf.bz2
http://fedoraproject.org/wiki/Features/ImprovedUserManagementUI: alcuni schizzi delle idee da concretizzare
http://people.fedoraproject.org/~mccann/design/user_accounts/: alcuni file Glade
https://www.redhat.com/archives/fedora-desktop-list/2008-May/msg00006.html: precedenti discussioni sul progetto

Anche Ubuntu sembra stia progettando qualcosa di simile, vedi
https://wiki.ubuntu.com/DesktopTeam/Specs/Lucid/UserAccountManagement

Matthias sta implementando un prototipo del progetto originale. I tarballs si trovano quì. I repositorie Git sono questi:

Il codice, allo stato attuale, consente di modificare solo le informazioni degli utenti, non dei gruppi. La finestra di dialogo ha un'interfaccia utente per impostare le opzioni di login, ma per ora è inattiva in quanto la gdm è priva delle necessarie API. La finestra impiega l'utility apg per generare password quasi memorabili. Il servizio D-Bus usa useradd, userdel e usermod per le modifiche, e i file in /var/lib/AccountsService per conservare i dati utente che non richiedono password, come suggerimenti per buone password o foto degli utenti.

Prossimi obiettivi:

  • trovare la collocazione all'interno dell'infrastruttura di progetto
  • realizzare i pacchetti
  • implementare le opzioni di login in gdm con le necessarie API
  • integrazione: consentire p.e. ad evolution, all'applet orologio, o a gdm di recuperare i dati utente dal servizio

Descrizione Dettagliata

L'obiettivo di questo progetto è di creare un singolo strumento capace di creare nuovi utenti e di modificare le informazioni relative agli utenti in sistemi mono-utenti o piccoli sistemi. I sistemi più grandi ed enterprise non sono un obbietivo presente (si ritiene che questi siano meglio gestibili attarverso un interfacce web del server ...).

Il dipositivo sostituirà (almeno in parte) le funzionalità di diversi componenti esistenti, come system-config-users, gnome-about-me, gdmsetup, firstboot, e polkit-gnome-authorization, tra gli altri.

Vantaggi per Fedora

Una finestra di dialogo mancava da molto tempo. Tale finestra renderà il desktop Fedora più completo e ridurrà il gap dagli altri S.O.

Note di rilascio

Fedora 13 includes a new user account dialog. It lets you create and modify user accounts and setup basic user information such as privileges, email addresses, user photo, etc. The new dialog supersedes functionality that was previously available in a variety of tools, such as system-config-user, gnome-about-me, gdmsetup and polkit-gnome-authorization, and makes it available in one place.

Altre informazioni

Per:

  • Obiettivi
  • Test Plan
  • Esperienza Utente
  • Dipendenze
  • Progetto corrente
  • Documentazione
  • Commenti e Discussioni

consultare la pagina originale di questo documento.