c8946ea608
Made encryptAll() (file migration for unencrypted + legacy encrypted files) run only on first login for each user (status stored in DB) Made recoveryAdmin user member of 'admin' user group automatically Set recoveryadmin settings to only display on user settings if enabled by an admin Updated encryption db xml schema
39 lines
No EOL
978 B
XML
39 lines
No EOL
978 B
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<database>
|
|
<name>*dbname*</name>
|
|
<create>true</create>
|
|
<overwrite>false</overwrite>
|
|
<charset>utf8</charset>
|
|
<table>
|
|
<name>*dbprefix*encryption</name>
|
|
<declaration>
|
|
<field>
|
|
<name>uid</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
</field>
|
|
<field>
|
|
<name>mode</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<length>64</length>
|
|
<comments>What client-side / server-side configuration is used</comments>
|
|
</field>
|
|
<field>
|
|
<name>recovery</name>
|
|
<type>boolean</type>
|
|
<notnull>true</notnull>
|
|
<default>0</default>
|
|
<comments>Whether encryption key recovery is enabled</comments>
|
|
</field>
|
|
<field>
|
|
<name>migrationStatus</name>
|
|
<type>boolean</type>
|
|
<notnull>true</notnull>
|
|
<default>0</default>
|
|
<comments>Whether encryption migration has been performed</comments>
|
|
</field>
|
|
</declaration>
|
|
</table>
|
|
</database> |