Commit 8c851af9 authored by Grandschtroumpf's avatar Grandschtroumpf

standard

parent 5f05fb2a
...@@ -109,7 +109,7 @@ export class PermissionHandler { ...@@ -109,7 +109,7 @@ export class PermissionHandler {
this.permissions = this._getFromLocal() this.permissions = this._getFromLocal()
if (!this.permissions[to.name]) this.permissions[to.name] = {} if (!this.permissions[to.name]) this.permissions[to.name] = {}
if (!this.permissions[to.name][from.name]) return this.openPermission(from, to) if (!this.permissions[to.name][from.name]) return this.openPermission(from, to)
const { allow, hash } = this.permissions[to.name][from.name] const { allow, hash } = this.permissions[to.name][from.name]
if (!allow) { if (!allow) {
const warning = notAllowWarning(from, to) const warning = notAllowWarning(from, to)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment