avoid use of Collection.getPermissions because of read locking inside.
In time of call collection locked anyway or if not it lead to deadlock.