mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Improve Space permissions
Closes out loopholes that allowed managers to kick owners.
This commit is contained in:
parent
09635b67ab
commit
5d632712e0
30 changed files with 1015 additions and 877 deletions
|
@ -335,7 +335,7 @@ export default Service.extend({
|
|||
} else {
|
||||
let id = this.get('storageSvc').getSessionItem('anonId');
|
||||
|
||||
if (is.not.null(id) && is.not.undefined(id) && id.length === 16) {
|
||||
if (is.not.null(id) && is.not.undefined(id) && id.length >= 16) {
|
||||
userId = id;
|
||||
} else {
|
||||
userId = stringUtil.anonUserId();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue