Changes between Version 24 and Version 25 of UserOptInConsent
- Timestamp:
- Sep 17, 2018, 2:46:25 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserOptInConsent
v24 v25 11 11 For Web registration, the login page can provide the terms of use text. Users will have to accept the terms of use before creating an account. This agreement will be stored in the project's database. 12 12 13 For existing accounts: A project may decide that existing accounts should also agree to a terms of use. This is a separate feature from the user agreement to a terms of use when registering an account. Existing users will have t to agree to a terms of use via a checkbox, and then that agreement is stored in the project's database.13 For existing accounts: A project may decide that existing accounts should also agree to a terms of use. This is a separate feature from the user agreement to a terms of use when registering an account. Existing users will have to agree to a terms of use via a checkbox, and then that agreement is stored in the project's database. 14 14 15 15 == Existing code == … … 46 46 * `consent_type` 47 47 * `id` - consent type id, also the primary key. 48 * `shortname` - consent name, these should be short and in ALLCAPS, e.g., ENROLL, STATSEXPORT S, etc. There should be no spaces either.48 * `shortname` - consent name, these should be short and in ALLCAPS, e.g., ENROLL, STATSEXPORT, etc. There should be no spaces either. 49 49 * `description` - text field describing the consent that user gives (or has given). 50 50 * `enabled` - if true, this consent type is enabled. This is toggled in the OPS page for managing consent types. … … 71 71 The `enabled` flag is fairly important. By default no consent types are enabled. The project admins may toggle this in the Manage Consent Types OPS page. If the 'ENROLL' type is enabled, users will have to agree to a terms of use when creating an account. (The terms of use file must also exist). Independently, if 'ENROLL' is enabled, and parameter 'enable_login_mustagree_termsofuse' is equal to 1 (TRUE), existing users must agree to the site's terms of use. 72 72 73 If 'STATSEXPORT S' type is enabled, users will see a new privacy preference option about statistics exports. They may give consent to this consent type in the user preference pages.73 If 'STATSEXPORT' type is enabled, users will see a new privacy preference option about statistics exports. They may give consent to this consent type in the user preference pages. 74 74 75 75 Re: `consent` table … … 139 139 From a project administrator's point-of-view. To enable the Opt-in feature: 140 140 141 1. First in the OPS pages, go to "Manage consent types". All consent types are disabled by default. You should enable `ENROLL` and `STATSEXPORTS`, the two default consent types. 142 1. You must add a `terms_of_use.txt` text file in the root of the project directory. This is the same directory `config.xml` may be found. This file must have the exact filename `terms_of_use.txt`, with underscores. It contains your projects terms-of-use text. 141 == Consent to Terms-of-Use == 142 143 1. First in the OPS pages, go to "Manage consent types". All consent types are disabled by default. You should enable `ENROLL` and `STATSEXPORT`, the two default consent types. 144 1. You must add a `terms_of_use.txt` text file in the root of the project directory. This is the same directory `config.xml` may be found. This file must have the exact filename `terms_of_use.txt`, with underscores. It contains your projects terms-of-use text. See TermsOfUse. 143 145 1. `config.xml` must be updated: add XML `<enable_login_mustagree_termsofuse>1</enable_login_mustagree_termsofuse>` to the `<config>` section. 144 * Note: If this config option is **not** set, the behavior of the site will be as follows. New accounts, whether created from the BOINC client or the Web site, will see a terms-of-use dialog which the user must agree to. However, existing accounts, when they login, are not asked to agree to a terms-of-use. 146 * Note: If this config option is **not** set but the other two above it **are set**, the behavior of the site will be as follows. New accounts, whether created from the BOINC client or the Web site, will see a terms-of-use dialog which the user must agree to. However, existing accounts, when they login, are not asked to agree to a terms-of-use. 147 148 == Consent to statistics exports == 149 150 How `STATSEXPORT` affects `db_dump`. If the `STATSEXPORT` consent_type is **enabled** in the OPS pages, users will be able to select whether they consent to having their statistics exported. This option is **false** by default. This option is found in the project preferences page, example: `https://projectURL/prefs.php?subset=project`. This option is also **false** by default. 151 152 Only if a user has consented to this `STATSEXPORT`, then `db_dump` will include their user account and their hosts in the anonymous statistics created. 153 154 == Project-specific consent types == 155 156 On the manage consent type OP pages, you may add your own consent types. However, you must provide any custom code that **uses** this consent type.