~benoit.pierre/sloecode/incubation

Viewing all changes in revision 133.

  • Committer: Benoît PIERRE
  • Date: 2011-09-22 09:48:48 UTC
  • Revision ID: benoit.pierre@gmail.com-20110922094848-mwd7lcpgl8bebkx8
Do not allow user creation and password changes when using PAM.

Add allow_password_modification and allow_user_creation helpers:

* allow_password_modification: return True if changing password is allowed

* allow_user_creation: return True if user creation is allowed

Both are not allowed when using PAM.

Update person-create and person-update page: do not show password changes are
not allowed.

Do not show 'Admin/Person/Create New' entry in navigation bar when user
creation is not allowed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: