Fix users not receiving permission updates

This commit is contained in:
Luck
2016-10-03 21:41:47 +01:00
Unverified
parent 43c514132d
commit 13bccd1d3f
4 changed files with 4 additions and 0 deletions
@@ -140,6 +140,7 @@ public class JSONDatastore extends FlatfileDatastore {
}, false);
} finally {
user.getIoLock().unlock();
user.refreshPermissions();
}
}
@@ -179,6 +179,7 @@ public class MongoDBDatastore extends Datastore {
}, false);
} finally {
user.getIoLock().unlock();
user.refreshPermissions();
}
}
@@ -185,6 +185,7 @@ abstract class SQLDatastore extends Datastore {
);
} finally {
user.getIoLock().unlock();
user.refreshPermissions();
}
}
@@ -126,6 +126,7 @@ public class YAMLDatastore extends FlatfileDatastore {
}, false);
} finally {
user.getIoLock().unlock();
user.refreshPermissions();
}
}