Mercurial > prosody-modules
annotate mod_profile/README.markdown @ 5418:f2c7bb3af600
mod_http_oauth2: Add role selector to consent page
List includes all roles available to the user, if more than one.
Defaults to either the first role in the scope string or the users
primary role.
Earlier draft listed all roles, but having options that can't be
selected is bad UX and the entire list of all roles on the server could
be long, and perhaps even sensitive.
Allows e.g. picking a role with fewer permissions than what might
otherwise have been selected.
UX wise, doing this with more checkboxes or possibly radio buttons would
have been confusion and/or looked messier.
Fixes the previous situation where unselecting a role would default to
the primary role, which could be more permissions than requested.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 05 May 2023 01:23:13 +0200 |
parents | 89226fb1af67 |
children |
rev | line source |
---|---|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
1 --- |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
2 labels: |
4957
89226fb1af67
mod_profile: Obsolete. Remove. Redirect to mod_vcard_legacy
Kim Alvefur <zash@zash.se>
parents:
3665
diff
changeset
|
3 - 'Stage-Obsolete' |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
4 summary: 'Replacement for mod\_vcard with vcard4 support and PEP integration' |
4957
89226fb1af67
mod_profile: Obsolete. Remove. Redirect to mod_vcard_legacy
Kim Alvefur <zash@zash.se>
parents:
3665
diff
changeset
|
5 superseded_by: mod_vcard_legacy |
2376
f0e611e40e3f
mod_profile/README: Set a stage label
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
6 --- |
1782 | 7 |
3664
2bbc56a19d74
mod_profile: Link to successors mod_vcard_legacy & mod_vcard4
Kim Alvefur <zash@zash.se>
parents:
3300
diff
changeset
|
8 ::: {.alert .alert-warning} |
2bbc56a19d74
mod_profile: Link to successors mod_vcard_legacy & mod_vcard4
Kim Alvefur <zash@zash.se>
parents:
3300
diff
changeset
|
9 [mod\_vcard\_legacy][doc:modules:mod_vcard_legacy] and |
2bbc56a19d74
mod_profile: Link to successors mod_vcard_legacy & mod_vcard4
Kim Alvefur <zash@zash.se>
parents:
3300
diff
changeset
|
10 [mod\_vcard4][doc:modules:mod_vcard4] included with Prosody 0.11.x |
2bbc56a19d74
mod_profile: Link to successors mod_vcard_legacy & mod_vcard4
Kim Alvefur <zash@zash.se>
parents:
3300
diff
changeset
|
11 provide equivalent functionality. |
2bbc56a19d74
mod_profile: Link to successors mod_vcard_legacy & mod_vcard4
Kim Alvefur <zash@zash.se>
parents:
3300
diff
changeset
|
12 ::: |
2bbc56a19d74
mod_profile: Link to successors mod_vcard_legacy & mod_vcard4
Kim Alvefur <zash@zash.se>
parents:
3300
diff
changeset
|
13 |
3180 | 14 # Introduction |
1782 | 15 |
3664
2bbc56a19d74
mod_profile: Link to successors mod_vcard_legacy & mod_vcard4
Kim Alvefur <zash@zash.se>
parents:
3300
diff
changeset
|
16 This module was an experimental replacement for [mod\_vcard]. In addition to |
3180 | 17 the ageing protocol defined by [XEP-0054], it also supports the [new |
18 vCard 4 based protocol][xep0292] and integrates with [Personal | |
19 Eventing Protocol][xep0163]. | |
1782 | 20 |
3186
1fe5b156d220
mod_profile: Add support for XEP-0398
Kim Alvefur <zash@zash.se>
parents:
3180
diff
changeset
|
21 Also supports [XEP-0398: User Avatar to vCard-Based Avatars Conversion]. |
1fe5b156d220
mod_profile: Add support for XEP-0398
Kim Alvefur <zash@zash.se>
parents:
3180
diff
changeset
|
22 |
3180 | 23 The vCard 4, [User Avatar][xep0084] and [User Nickname][xep0172] |
24 PEP nodes are updated when the vCard is changed.. | |
25 | |
26 # Configuration | |
1782 | 27 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
28 modules_enabled = { |
3300
65dd8ebbd82c
mod_profile: Update README file next to recent mod_pep changes
Minami-o Le Sabreur <minami-o@biboumail.fr>
parents:
3186
diff
changeset
|
29 -- "vcard"; -- This module must be removed |
1782 | 30 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
31 "profile"; |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
32 } |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
33 |
3180 | 34 # Compatibility |
1782 | 35 |
3180 | 36 Requires Prosody **trunk** as of 2014-05-29. Won't work in 0.10.x. |
1782 | 37 |
3300
65dd8ebbd82c
mod_profile: Update README file next to recent mod_pep changes
Minami-o Le Sabreur <minami-o@biboumail.fr>
parents:
3186
diff
changeset
|
38 It depends on the trunk version of [mod\_pep][doc:modules:mod_pep] for PEP support, |
65dd8ebbd82c
mod_profile: Update README file next to recent mod_pep changes
Minami-o Le Sabreur <minami-o@biboumail.fr>
parents:
3186
diff
changeset
|
39 previously known as [mod\_pep\_plus][doc:modules:mod_pep_plus]. |