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

idempotent API call for making a user a superuser #9887

Closed
jorgelpolanco opened this issue Sep 6, 2023 · 6 comments · Fixed by #10440
Closed

idempotent API call for making a user a superuser #9887

jorgelpolanco opened this issue Sep 6, 2023 · 6 comments · Fixed by #10440
Assignees
Labels
Feature: API Hackathon: Low Hanging Fruit hacktoberfest It's Hacktoberfest! https://groups.google.com/g/dataverse-community/c/n_Nn_T2yA-w/m/BcoXO4tEAQAJ Help Wanted: Code Mentor: pdurbin Size: 3 A percentage of a sprint. 2.1 hours. Type: Feature a feature request User Role: API User Makes use of APIs User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh
Milestone

Comments

@jorgelpolanco
Copy link

jorgelpolanco commented Sep 6, 2023

Hello! I like to report an issue in the docker installation process, User Administration does not exist. Issue related: IQSS/dataverse-docker#78

What steps does it take to reproduce the issue?
Dataverse Docker installation

  • When does this issue occur?
    login with the admin account

  • Which page(s) does it occurs on?

  • What happens?
    The admin account works fine, but it doesn't have administration permissions.

  • To whom does it occur (all users, curators, superusers)?
    super user.

  • What did you expect to happen?

login with admin and have admin permission. (red color user)

Which version of Dataverse are you using?
v. 5.13 build 1244-79d6e57

Any related open or closed issues to this bug report?
IQSS/dataverse-docker#78

In the thread, there are a solution:

IQSS/dataverse-docker#78 (comment)

@pdurbin pdurbin changed the title User Administration does not exist idempotent API call for making a user a superuser Oct 8, 2023
@pdurbin pdurbin added Type: Feature a feature request Feature: API Hackathon: Low Hanging Fruit Help Wanted: Code Mentor: pdurbin User Role: API User Makes use of APIs User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh hacktoberfest It's Hacktoberfest! https://groups.google.com/g/dataverse-community/c/n_Nn_T2yA-w/m/BcoXO4tEAQAJ Size: 3 A percentage of a sprint. 2.1 hours. labels Oct 8, 2023
@mr-loop-1
Copy link
Contributor

Hi @pdurbin , I looked at the relevant code and would like to take up this issue. Please assign me.

@pdurbin
Copy link
Member

pdurbin commented Oct 9, 2023

@mr-loop-1 done! Thanks! If you have any questions, a good place to ask is #dev in https://chat.dataverse.org

@pdurbin
Copy link
Member

pdurbin commented Nov 20, 2023

@mr-loop-1 hi! I'm just checking in. We just got another report of this bug/shortcoming: IQSS/dataverse-docker#78 (comment)

Is there anything you need from us?

Are you still interested in working on this?

Thanks!

@mr-loop-1
Copy link
Contributor

mr-loop-1 commented Nov 25, 2023

Hi @pdurbin , really sorry for the delay. I knew what to change but didn't pushed as I wanted to check first regarding a concern I have mentioned in the pr but got involved somewhere in the meantime. Would appreciate your responce on that.

@pdurbin
Copy link
Member

pdurbin commented Mar 29, 2024

@jorgelpolanco I'm not sure if you're comfortable building Docker images from pull requests or not but there's a new one from @zearaujo25 if you'd like to play around with it:

The easiest way is probably to switch to the branch and then run this quickstart: http://preview.guides.gdcc.io/en/develop/developers/dev-environment.html#quickstart

pdurbin added a commit to zearaujo25/dataverse that referenced this issue Apr 11, 2024
pdurbin added a commit to zearaujo25/dataverse that referenced this issue Apr 12, 2024
pdurbin added a commit to zearaujo25/dataverse that referenced this issue Apr 12, 2024
pdurbin added a commit to zearaujo25/dataverse that referenced this issue Apr 12, 2024
pdurbin added a commit to zearaujo25/dataverse that referenced this issue Apr 12, 2024
@pdurbin
Copy link
Member

pdurbin commented Apr 12, 2024

I just approved #10440 but others are welcome to take a look. Thank, @zearaujo25!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: API Hackathon: Low Hanging Fruit hacktoberfest It's Hacktoberfest! https://groups.google.com/g/dataverse-community/c/n_Nn_T2yA-w/m/BcoXO4tEAQAJ Help Wanted: Code Mentor: pdurbin Size: 3 A percentage of a sprint. 2.1 hours. Type: Feature a feature request User Role: API User Makes use of APIs User Role: Sysadmin Installs, upgrades, and configures the system, connects via ssh
Projects
None yet
3 participants