mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +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
|
@ -84,7 +84,7 @@ export default Controller.extend(Tooltips, Notifier, {
|
|||
let constants = this.get('constants');
|
||||
|
||||
// if document approval mode is locked return
|
||||
if (document.get('protection') == constants.ProtectionType.Lock) {
|
||||
if (document.get('protection') === constants.ProtectionType.Lock) {
|
||||
// should not really happen
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue