M1 review round 2: the transport is no way round, nobody raises its own role, late staff collections
R2-1 the SMTP password is bound to server, port and user whatever the transport says; the transport alone is not bound.
R2-2 where the plugin's update rule is in force the roles field is closed for the account itself
(the plugin's roles: only an admin; roles of the project's own: never one's own).
R2-3 auth collections a later plugin adds get the account rules, the password rule and the first-user endpoint when
the config goes live; a staff slug that is not an auth collection stops the start.
R2-4 smtpRequireTls is taken out: the branch adds no field, column or collection.
Also: read (a staff account) and unlock (an admin) defaults on staff collections (accounts.staffOnlyRead);
doctor staff-own-roles and read / unlock in staff-accounts-open; r1 NULL against the default, also inside a row;
r2 bound values compared exactly.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
a32329fbb4
commit
7002ebbfa6
+2
-2
@@ -214,8 +214,8 @@ export type IpalOptions = {
|
||||
* read the global, as before 1.16.7.
|
||||
*
|
||||
* The SMTP password is bound to its server: a save in the panel that changes
|
||||
* the server, the port, the user name, the transport or "require an encrypted
|
||||
* connection" must send the password again, or remove it — otherwise a stolen
|
||||
* the server, the port or the user name must send the password again, or
|
||||
* remove it (whatever the transport says) — otherwise a stolen
|
||||
* admin session points the server at its own machine and a test e-mail hands
|
||||
* the password over. `{ reenterOnChange: false }` = the stored password
|
||||
* follows the new server. docs/security.md "Stored secrets".
|
||||
|
||||
Reference in New Issue
Block a user