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

not able to create new endpoint type as a non-admin user #246

Closed piyush94 closed 5 years ago

piyush94 commented 5 years ago

non-admin group access rights image

piyush94 commented 5 years ago

But after creating from admin, i am able to edit the object from non-admin user.

sbtaylor15 commented 5 years ago

That screen is for the overall creation rights. It does not control the detailed access control around each object, end-points, applications, components, domains etc. Each object has its own access control. Select an object, ie end point, and go to the Access Tab. Set the Group access for the object. That should resolve your issue.

piyush94 commented 5 years ago

The issue is if a user is not in admin group, and goes to domains -> component and end point types -> right click on domain of which user is part of but still add new menu is not coming.

sbtaylor15 commented 5 years ago

Have you modified the Creation Rights for that user or users group? Or just using the defaults?

piyush94 commented 5 years ago

Gave all the creation rights to the group of which user is part of. That is the image in my first comment.

sbtaylor15 commented 5 years ago

Got it. Let me try to recreate the issue.

piyush94 commented 5 years ago

Hi Steve, Any update on this issue. This is currently a roadblock in providing non-admin access to users. Kindly revert ASAP. Regards, Piyush

sbtaylor15 commented 5 years ago

@piyush94 - Please pull the latest image (build 1455), docker pull quay.io/deployhub/deployhub-pro

Added a new checkbox (Server and Component Types) on the Creation Rights for a group. As admin, check the Server and Component Types, then logoff and back in as non-admin. You should now have the menu item to create component types.

CC: @svisagan83

docker sha256:08138eb0d5208c26a55ecc31713322e2ca2c7c421ee0f154b482779d8c917163

piyush94 commented 5 years ago

The view is not scrollable, so the new option is getting hidden. image

sbtaylor15 commented 5 years ago

Changed the panel sizing so the Servers & Component Types are not cut off. Please pull the latest image.

CC: @svisagan83

docker sha256:cf186b1ee1ff23860d8e7fdcc6a90bdbb8f50fff2e79269c1c904be8c617e034

piyush94 commented 5 years ago

@sbtaylor15 Thanks, it's fixed now. CC: @svisagan83