samedi, mars 27, 2010

Password protected preferences in OOo4Kids 0.9

EducOOo Logo

One of the OOo4Kids 0.9 new feature is the password protected preferences.

Principles :

Children love experiment. Most of them have good skills for that, but this is not what the teacher expects :-) So, the goal of this feature, is to implement, intelligently, a protection for the preferences, who :
* avoids the children to modify something
* but allow them to click, and see whatever they want (in read only mode)

Important : this feature is only a protection to avoid children hacking the OOo4Kids, but not a security (the password is readable in Common.xcu)


The Rules :

* The default password, if enabled, is : prof
* By default, the preferences are unlocked
* To activate the protection, one just need to click on the "Click to avoid modifications" Image button (the green padlock).

=> Be carefull : the protection will be validated once the dialog box will be closed, and this change is not reversible Means once activated, you'll need the password to disable that.

The views :

* A green padlock displayed on the bottom of the view, means : unlocked preferences

Green open padlock


* A red padlock displayed on the bottom of the view, means : locked preferences

Red closed padlock


Disable the protection :

Disable the protection


Change the password

Disable the protection

Attention : the toolbars will stay customizable.

The feature was made on behalf of teachers, and in collaboration with them. Th code will be fully documented (I started already) at the Password protected preferences wiki page, and of course, if ever something can be reused in Openoffice.org, I'd be glad to provide patches (no idea whether it will interest anybody though)

---------------------

If you want to help us, to find resource and contribute back to improve OpenOffice.org, via the OpenOffice.org Education Project, donations are welcome

OOo4Kids is made for Educational purpose, has been thought to work with students, making them discover OpenOffice.org source code, without constraints, but just code, and having Fun.
The promise is, when the code is good enough, it will be proposed for integration into OpenOffice.org.

Libellés : , , , , , ,