DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

Global components not visible #296

Closed piyush94 closed 4 years ago

piyush94 commented 4 years ago

Hi, Global components with access level as Everyone are not visible to the user of a sub-domain. All the other objects defined at Global with Everyone access are visible such as credentials, repositories, etc.

Can this be fixed at priority? Thanks.

CC: @svisagan83

piyush94 commented 4 years ago

image

Global components not visible

piyush94 commented 4 years ago

image

This was there earlier.

sbtaylor15 commented 4 years ago

@piyush94 - we will take a look at this. We are trying to nail down the pattern when it works and when it doesn't since we have application version in which it is working fine and others has it where they are missing.

piyush94 commented 4 years ago

@sbtaylor15 - Some more details. Application is in sub-domain User is in sub-domain

User from sub-domain is able to see other objects on which i have set access level Everyone

Component is in GLOBAL domain.

Interestingly, it's visible in the components page, when i login as sub-domain user image

sbtaylor15 commented 4 years ago

@piyush94 we think we have found the scenario. In the current version, it will work correctly if you navigate to the Actions tab and select an Activity from the tree view on the right. Then go to the Application Version and the Component Versions should show Global. We have updated the code to add in the missing data that the select was providing.

We have tested this on multiple installs with 2 or 3 working as expected. We believe that 3rd one is not showing correctly due to bad test data in our database. Please confirm that its working correctly on your side.

Please pull the latest image for this update.

CC: @svisagan83

piyush94 commented 4 years ago

@sbtaylor15 - now only Global components are visible, when i login as sub-domain user. image

CC: @svisagan83

sbtaylor15 commented 4 years ago

@piyush94 we were able to recreate the last issue and have fixed it. Please pull the latest image.

CC: @svisagan83

piyush94 commented 4 years ago

@sbtaylor15 - it's working.

CC: @svisagan83