Browse Source
* Add data field * Add field to views * Only data coordinators can change role, dpo, keycontact * Import key contact field * Rubocop * Import data accessors * Handle non-unqiue email importspull/444/head
baarkerlounger
3 years ago
committed by
GitHub
17 changed files with 495 additions and 164 deletions
@ -0,0 +1,7 @@
|
||||
class AddKeyContactFieldToUser < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :users, bulk: true do |t| |
||||
t.column :is_key_contact, :boolean, default: false |
||||
end |
||||
end |
||||
end |
@ -0,0 +1,13 @@
|
||||
<user:user xmlns:user="dclg:user"> |
||||
<user:id>10c887710550844e2551b3e0fb88dc9b4a8a642b</user:id> |
||||
<user:password>xxx</user:password> |
||||
<user:full-name>John Doe</user:full-name> |
||||
<user:user-name>john.doe</user:user-name> |
||||
<user:institution>7c5bd5fb549c09a2c55d7cb90d7ba84927e64618</user:institution> |
||||
<user:email>john.doe@gov.uk</user:email> |
||||
<user:user-type>Data Protection Officer</user:user-type> |
||||
<user:active>true</user:active> |
||||
<user:deleted>false</user:deleted> |
||||
<user:contact-priority-id>None</user:contact-priority-id> |
||||
<user:telephone-no>02012345678</user:telephone-no> |
||||
</user:user> |
@ -0,0 +1,13 @@
|
||||
<user:user xmlns:user="dclg:user"> |
||||
<user:id>b7829b1a5dfb68bb1e01c08445830c0add40907c</user:id> |
||||
<user:password>xxx</user:password> |
||||
<user:full-name>John Doe</user:full-name> |
||||
<user:user-name>john.doe</user:user-name> |
||||
<user:institution>7c5bd5fb549c09a2c55d7cb90d7ba84927e64618</user:institution> |
||||
<user:email>john.doe@gov.uk</user:email> |
||||
<user:user-type>Private Data Downloader</user:user-type> |
||||
<user:active>true</user:active> |
||||
<user:deleted>false</user:deleted> |
||||
<user:contact-priority-id>None</user:contact-priority-id> |
||||
<user:telephone-no>02012345678</user:telephone-no> |
||||
</user:user> |
@ -0,0 +1,13 @@
|
||||
<user:user xmlns:user="dclg:user"> |
||||
<user:id>d4729b1a5dfb68bb1e01c08445830c0add40907c</user:id> |
||||
<user:password>xxx</user:password> |
||||
<user:full-name>John Doe</user:full-name> |
||||
<user:user-name>john.doe</user:user-name> |
||||
<user:institution>7c5bd5fb549c09a2c55d7cb90d7ba84927e64618</user:institution> |
||||
<user:email>john.doe@gov.uk</user:email> |
||||
<user:user-type>Co-ordinator</user:user-type> |
||||
<user:active>true</user:active> |
||||
<user:deleted>false</user:deleted> |
||||
<user:contact-priority-id>Key Performance Contact</user:contact-priority-id> |
||||
<user:telephone-no>02012345678</user:telephone-no> |
||||
</user:user> |
@ -0,0 +1,13 @@
|
||||
<user:user xmlns:user="dclg:user"> |
||||
<user:id>d6717836154cd9a58f9e2f1d3077e3ab81e07613</user:id> |
||||
<user:password>xxx</user:password> |
||||
<user:full-name>John Doe</user:full-name> |
||||
<user:user-name>john.doe</user:user-name> |
||||
<user:institution>7c5bd5fb549c09a2c55d7cb90d7ba84927e64618</user:institution> |
||||
<user:email>john.doe@gov.uk</user:email> |
||||
<user:user-type>Co-ordinator</user:user-type> |
||||
<user:active>true</user:active> |
||||
<user:deleted>false</user:deleted> |
||||
<user:contact-priority-id>eCORE Contact</user:contact-priority-id> |
||||
<user:telephone-no>02012345678</user:telephone-no> |
||||
</user:user> |
Loading…
Reference in new issue