Skip to content

Unable to export cluster unless user has explicit CAN_MANAGE permission #265

@jeff-shuttNH

Description

@jeff-shuttNH

While running an export on my single tenant workspace, I was getting failures on exporting the all purpose clusters where the message looked like:

Failed to get cluster ACL: {'object_id': '/clusters/0501-133555-abcdef', 'object_type': 'cluster', 'access_control_list': [], 'http_status_code': 200, 'cluster_name': 'My Cluster'}

When comparing the list of those that failed to our total list of clusters, I noticed that it was all but 2 of the clusters that I was getting this on, so I started inspecting those 2 clusters to see what was different about them. Turns out, my user had explicit CAN_MANAGE permission on them, whereas on all the other ones I only had inherited CAN_MANAGE permissions via the user groups that I am part of. (Including the admin group)

The workaround was of course to explicitly add the CAN_MANAGE permission for my user on all the other clusters. Am I right in thinking that as an admin user, I shouldn't have to do that though?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions