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

change password via UI #2130

Closed
alanpaulkwan opened this issue Jan 4, 2023 · 9 comments
Closed

change password via UI #2130

alanpaulkwan opened this issue Jan 4, 2023 · 9 comments
Labels
status: stale Indicates that there is no activity on an issue or pull request type: enhancement Indicates new feature requests

Comments

@alanpaulkwan
Copy link

I have tried EXPORT $ARGILLA.... and following the example closely, but to no avail. I am wondering if it would be better to just allow people to change their password/add users via a webform.

@alanpaulkwan alanpaulkwan added the type: enhancement Indicates new feature requests label Jan 4, 2023
@davidberenstein1957
Copy link
Member

Hi @alanpaulkwan, could you add a bit more context please? :)

@keithCuniah has been looking at OAuth measures, but for now this is scoped to our cloud offering. If you need help setting things up, we can also schedule a calendly meeting.

@alanpaulkwan
Copy link
Author

Hi yes, sorry.

htpasswd -nbB "" somepassword
:$2y$05$ihM/I5jjJTnOPeA1Br69I.kbjVnMzG6VUW0pBFyGFxSPHzdGwfr4q

export ARGILLA_LOCAL_AUTH_DEFAULT_PASSWORD="$2y$05$ihM/I5jjJTnOPeA1Br69I.kbjVnMzG6VUW0pBFyGFxSPHzdGwfr4q"

I could either try this when running Argilla, or export it first locally then start Argilla under that user. I can't log in, it doesn't seem like the password has changed. Maybe I'm doing something wrong but it is a bit difficult to figure out. The user interface would be easier.

@davidberenstein1957
Copy link
Member

Could it potentially be caused by this issue . I initially also had a problem with this. @frascuchon do you think we could possibly integrate this workflow in the Argilla package. This would allow us to add a check for &, or provide a more extensive example in our docs?

@dvsrepo
Copy link
Member

dvsrepo commented Jan 8, 2023

I think is a great idea to have this workflow as an util of the package. I got this question very often and even had issues myself too 😃

@davidberenstein1957
Copy link
Member

@alanpaulkwan I created a feature request for this. #2196 could you provide some input on what you think might work best?

@alanpaulkwan
Copy link
Author

wow, thank you for following up. at the very extreme, Apache Superset is a great example. they create two constructs: roles + users. they pre-define both. when you start it, you use the default password and can at the top right, there is a "User Management" page where you can

  1. add users
  2. edit a user, changing their password + role. For roles, there is a text box which auto-completes the role names.

For roles, there is Admin, Alpha, Gamma, etc. I guess if you wanted to be fully featured, I would imagine one would could imagine a user who can administer users, a user who can write to datasets, a user who can annotate, a user who can override other annotations etc.

@davidberenstein1957
Copy link
Member

@Amelie-V more input regarding #1857

@github-actions
Copy link

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the status: stale Indicates that there is no activity on an issue or pull request label Apr 14, 2023
Copy link

This issue was closed because it has been inactive for 30 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: stale Indicates that there is no activity on an issue or pull request type: enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

3 participants