Code Repositories xandikos / 37e2dc5
Add implementation notes. Jelmer Vernooń≥ 2 years ago
1 changed file(s) with 10 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 Multi-User Support
1 ------------------
1 ==================
22
33 Multi-user support could arguably also include sharing of
44 calendars/collections/etc. This is beyond the scope of this document, which
2929 -------
3030
3131 By default, the principal for a user is simply "/%(username)s".
32
33 Roadmap
34 =======
35
36 * Expose username (or None, if not logged in) everywhere
37 * Add function get_username_principal() for mapping username to principal path
38 * Add simple function check_path_access() for checking access ("is this user allowed to access this path?")
39 * Use access checking function everywhere
40 * Have current-user-principal setting depend on $REMOTE_USER and get_username_principal()