Commit 3dc703b1 authored by Varunkumar Manohar's avatar Varunkumar Manohar
Browse files

Always return access policy during subproject get

parent adad19d1
Pipeline #50770 passed with stages
in 15 minutes and 32 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