Skip to content

Operate permission cannot View pipeline group #7747

@thomasf1234

Description

@thomasf1234
Issue Type
  • Bug Report
Summary

When you set the permissions for a role on a pipeline group to 'operate' and save the configuration then the user with the role cannot view the pipeline group.

Environment

Docker Image: gocd/gocd-server:v20.1.0
OS Information: | Linux 4.15.0-74-generic
Underlying Host OS: Ubuntu 18.04.3
Docker version 19.03.5, build 633a0ea838
Browser: Chrome + Safari (Remotely from MacOSX)

Steps to Reproduce
  1. Under the pipelines admin page, edit a pipeline group and set a role permission to 'operate' on pipeline group
  2. save the configuration
  3. Login as a user with that role
Expected Results

'View' permission is encompassed in 'Operate' and so the user with the role can both view and operate the pipelines within the pipeline group

Actual Results

User cannot see the pipeline group. It is completely hidden from them.

Possible Fix

Have to manually update the xml and explicitly add a view permission as well as operate permission. But any change through the pipeline admin interface wipes out the change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions