Commit 7824d871 authored by Varunkumar Manohar's avatar Varunkumar Manohar
Browse files

Merge branch 'slb/vm/fix-old-model-access-policy' into 'master'

fix: return access policy as uniform for older subprojects

See merge request !142
parents adad19d1 3dc703b1
Pipeline #50953 passed with stages
in 6 minutes and 53 seconds
......@@ -68,6 +68,11 @@ export class SubProjectDAO {
entity.acls = await this.constructServiceGroupACLs(entity);
// Fix entities with no access policy previously set
if (!entity.access_policy) {
entity.access_policy = Config.UNIFORM_ACCESS_POLICY;
await this._cache.set(this.getCacheKey(entity.tenant,, entity);
return entity;
Supports Markdown
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