Skip to content

Commit

Permalink
Merge pull request #4389 from Countly/SER-771-Creating-user-without-p…
Browse files Browse the repository at this point in the history
…ermission-causes-frontend-crash

[SER-771] emtyPermission object was wrongly constructed
  • Loading branch information
ar2rsawseen authored Jul 31, 2023
2 parents adf0630 + 9c0102b commit 74e6e96
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions frontend/express/libs/members.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,15 @@ if (membersUtility.countlyConfig.web && membersUtility.countlyConfig.web.track =
* @property {object} emptyPermission - empty crud permission
*/
membersUtility.emptyPermission = {
"permission": {
"c": {},
"r": {},
"u": {},
"d": {},
"_": {
"a": [],
"u": [
[]
]
}
"c": {},
"r": {},
"u": {},
"d": {},
"_": {
"a": [],
"u": [
[]
]
}
};

Expand Down

0 comments on commit 74e6e96

Please sign in to comment.