Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Management Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
3dc703b1
Commit
3dc703b1
authored
Jul 07, 2021
by
Varunkumar Manohar
Browse files
Always return access policy during subproject get
parent
adad19d1
Pipeline
#50770
passed with stages
in 15 minutes and 32 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/services/subproject/dao.ts
View file @
3dc703b1
...
...
@@ -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
.
name
),
entity
);
return
entity
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment