Opened 18 years ago
Last modified 12 years ago
#264 closed enhancement
patch for tickets 180 and 155 — at Initial Version
Reported by: | Owned by: | Matt Good | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Gunnar Wagenknecht | Trac Release: | 0.8 |
Description
Hi ! I attach here my files modified with patches for tickets 180 and 155. 180 - only file htfile.py, new methods for various check and patch for _update_file method.
check inside for group names banned ( check group names in db and exclude them ) in trac.ini ( for environment ) must add
password_format = htpasswd password_file = /path/to/htpasswd default-group = authenticated
155 - web_ui, new check and error message for banned group names in example if you define authenticated, dev, other groups ... banned usernames will be authenticated, dev, other, WIKI_VIEW, etc etc etc ( default actions too will be protected )
api.py, new method interface
user added with these files will be created with a default permission specified in trac.ini ==> [account-manager] ==> default-group
api.py