Sfoglia il codice sorgente

Updated security.md.

Lauri Ojansivu 1 anno fa
parent
commit
fe985e219a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      SECURITY.md

+ 1 - 0
SECURITY.md

@@ -108,6 +108,7 @@ A:
   - You can have input field for password https://github.com/wekan/wekan/blob/main/client/components/cards/attachments.js#L303-L312
   - You can save password to database https://github.com/wekan/wekan/blob/main/client/components/cards/attachments.js#L303-L312
   - Check that only current user or Admin can change password https://github.com/wekan/wekan/blob/main/client/components/cards/attachments.js#L303-L312
+    - Note that currentUser uses code like Meteor.user() in .js file
   - Do not have password hashes in PubSub https://github.com/wekan/wekan/blob/main/server/publications/users.js
   - Only show Admin Panel to Admin https://github.com/wekan/wekan/blob/main/client/components/settings/settingBody.jade#L3
 - Use Environment variables for any email etc passwords.