Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Modify Permissions After Setting In UI #172

Open
estein9825 opened this issue Feb 7, 2023 · 3 comments
Open

Can't Modify Permissions After Setting In UI #172

estein9825 opened this issue Feb 7, 2023 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@estein9825
Copy link

estein9825 commented Feb 7, 2023

Expected vs actual behavior

After you have set permissions for a particular project in a group in the UI, you can't go back and edit it. You have to delete the permission so you have access to readd it again. This is true for organization level, project level, or namespace level.

Steps to reproduce the bug

  1. Create a group
  2. Add project permissions
  3. Try to the edit the permissions, but you can't

Are you using the latest version of the project?

You can check your version by running helm ls|grep '^<deployment-name>' or using pctl, pctl version, and provide the output.

VERSION: 0.1.0
BUILD: 0.1.0
BUILD-TIME: 1656329967
ARCH: darwin/amd64

What is your environment setup? Please tell us your cloud provider, operating system, and include the output of kubectl version --output=yaml and helm version. Any other information that you have, eg. logs and custom values, is highly appreciated!

Kubectl

clientVersion:
  buildDate: "2022-08-23T17:44:59Z"
  compiler: gc
  gitCommit: a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2
  gitTreeState: clean
  gitVersion: v1.25.0
  goVersion: go1.19
  major: "1"
  minor: "25"
  platform: darwin/amd64
kustomizeVersion: v4.5.7
serverVersion:
  buildDate: "2022-11-29T18:41:42Z"
  compiler: gc
  gitCommit: 52e500d139bdef42fbc4540c357f0565c7867a81
  gitTreeState: clean
  gitVersion: v1.22.16-eks-ffeb93d
  goVersion: go1.16.15
  major: "1"
  minor: 22+
  platform: linux/amd64

Helm

version.BuildInfo{Version:"v3.10.3", GitCommit:"835b7334cfe2e5e27870ab3ed4135f136eecc704", GitTreeState:"clean", GoVersion:"go1.19.4"}

(optional) If you have ideas on why the bug happens or how it can be solved, please provide it here

Editing should work

  • [X ] I've described the bug, included steps to reproduce it, and included my environment setup with all customizations.
  • [X ] I'm using the latest version of the project.
@estein9825 estein9825 added the bug Something isn't working label Feb 7, 2023
@estein9825 estein9825 changed the title Cam Can't Modify Permissions After Setting Feb 7, 2023
@estein9825 estein9825 changed the title Can't Modify Permissions After Setting Can't Modify Permissions After Setting In UI Feb 7, 2023
@akshay196
Copy link
Member

I can edit the associated role of a group. Although once the role is assigned to the group, edit roles is not allowing to switch project.

Screencast.from.2023-04-05.23-17-50.webm

@akshay196
Copy link
Member

It looks like UI only issue. PUT request to group API is working fine at the back-end.

Transferring to dashboard repo.

@akshay196 akshay196 transferred this issue from paralus/paralus Apr 5, 2023
@akshay196 akshay196 added the triage/accepted Indicates an issue or PR is ready to be actively worked on. label Apr 5, 2023
@niravparikh05 niravparikh05 added good first issue Good for newcomers help wanted Extra attention is needed labels Sep 25, 2023
@niravparikh05 niravparikh05 self-assigned this Jul 11, 2024
@niravparikh05
Copy link
Contributor

As a user I have the ability to change roles associated to a project by clicking on the edit option. Note: here only roles can be changes as this edit is within a project scope.
As a user I have the ability to add roles to a new project within this group by clicking on the 'Assign Group to Project'
As a user I have the ability to remove project permissions from this group by clicking on the delete icon.

Most of the use cases can be achieved with above user flows, @estein9825 just trying to understand what are you trying to perform here ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

3 participants