Commit 2b9b70d5 authored by Varunkumar Manohar's avatar Varunkumar Manohar
Browse files

Remove unreachable code

parent d7486591
Pipeline #33402 failed with stages
in 36 seconds
......@@ -46,18 +46,6 @@ export class SubProjectDAO {
// Fix entities with no acls
if (!entity.acls) {
// const tenant = await TenantDAO.get(tenantName)
// const acls = {
// 'admins': [],
// 'viewers': []
// }
// acls.admins.push(SubprojectGroups.oldAdminGroupName(entity.tenant, entity.name) + '@' + tenant.esd)
// acls.admins.push(SubprojectGroups.oldEditorGroupName(entity.tenant, entity.name) + '@' + tenant.esd)
// acls.viewers.push(SubprojectGroups.oldViewerGroupName(entity.tenant, entity.name) + '@' + tenant.esd)
entity.acls = await this.constructServiceGroupACLs(entity, tenantName)
}
......
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