close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
- Timestamp:
-
Sep 25, 2009, 7:37:47 AM (15 years ago)
- Author:
-
cmlenz
- Comment:
-
Moved open issues to bottom
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v15
|
v16
|
|
6 | 6 | |
7 | 7 | The subsystem does not provide built-in processes and UI for user registration, activation, password resetting, and other high-level features. |
8 | | |
9 | | === Open Issues === |
10 | | |
11 | | * '''Naming''': `assert_authorized` is ugly. `ensure_authorized` would be better, but still ugly. That the function takes `(action, resource)` parameters makes it harder to choose a name that “sounds” nice.[[BR]] |
12 | | See also: `Principal.can(action, resource)`. Not sure about that one, but at least it's short. |
13 | | * '''Authorization Decorator''': Should there be a request handler decorator form for checking authorization? What should it be called? |
14 | | * The password encryption utilities are a bit on the silly side. They should either be really useful or get nixed. |
15 | 8 | |
16 | 9 | == Basic Architecture == |
… |
… |
|
60 | 53 | The `diva.auth` module also provides a couple of convenience functions for managing encrypted passwords. These can be useful for applications implementing form-based login, but their use is of course entirely optional. |
61 | 54 | |
| 55 | == Open Issues == |
| 56 | |
| 57 | * '''Naming''': `assert_authorized` is ugly. `ensure_authorized` would be better, but still ugly. That the function takes `(action, resource)` parameters makes it harder to choose a name that “sounds” nice.[[BR]] |
| 58 | See also: `Principal.can(action, resource)`. Not sure about that one, but at least it's short. |
| 59 | * '''Authorization Decorator''': Should there be a request handler decorator form for checking authorization? What should it be called? |
| 60 | * The password encryption utilities are a bit on the silly side. They should either be really useful or get nixed. |
| 61 | |
62 | 62 | == API Documentation == |
63 | 63 | |