Skip to content

Commit 31a4639

Browse files
authored
fix: Dashboard config objects stored on server with public read / write access (#2997)
1 parent dde78a3 commit 31a4639

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/ServerConfigStorage.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ export default class ServerConfigStorage {
5959
this._clearAllValueFields(configObject);
6060
configObject.set(valueType, value);
6161

62+
// Set empty ACL so object is only accessible with master key
63+
configObject.setACL(new Parse.ACL());
64+
6265
// Use master key for operations
6366
return configObject.save(null, { useMasterKey: true });
6467
}

0 commit comments

Comments
 (0)