You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/08/01 19:13:16 UTC
[incubator-streampipes] branch STREAMPIPES-545 updated: [hotfix] Fix cypress test add datalake admin user
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch STREAMPIPES-545
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/STREAMPIPES-545 by this push:
new 5a1fe4066 [hotfix] Fix cypress test add datalake admin user
5a1fe4066 is described below
commit 5a1fe40661206edf0153a6ad7f44a83eebefad7d
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Mon Aug 1 21:13:07 2022 +0200
[hotfix] Fix cypress test add datalake admin user
---
ui/src/app/services/auth.service.ts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ui/src/app/services/auth.service.ts b/ui/src/app/services/auth.service.ts
index ab8d5e79c..feb406d65 100644
--- a/ui/src/app/services/auth.service.ts
+++ b/ui/src/app/services/auth.service.ts
@@ -177,6 +177,8 @@ export class AuthService {
return this.hasAnyRole(['ROLE_ADMIN']);
case PageName.NOTIFICATIONS:
return this.hasAnyRole(['ROLE_PIPELINE_ADMIN']);
+ case PageName.ASSETS:
+ return this.hasAnyRole(['ROLE_ADMIN']);
case PageName.SETTINGS:
return this.hasAnyRole(['ROLE_ADMIN']);
default: