Code Monkey home page Code Monkey logo

Comments (4)

sushi30 avatar sushi30 commented on June 1, 2024 1

@harshach I was pointing out the discrepancy between the docs and actual behavior. If what you describe is the expected behavior I suggest the following changes:

  1. Modify docs and remove the instructions for the user:password principal.
  2. Add that the default password for usernames specified in AUTHORIZER_ADMIN_PRINCIPALS are given the password admin by default.
  3. Add some validation the names used in AUTHORIZER_ADMIN_PRINCIPALS so that users dont mistakenly put invalid names.

from openmetadata.

harshach avatar harshach commented on June 1, 2024

@sushi30 this is by design not set the password usign the configs. We default to admin, let the user login and change it.
This has security implications , we do not want users to update the password existing users as we do allow users promoting an existing user to admin. But changing or creating a password based on their needs is not an option.

Can we describe the use-case we do need this option

from openmetadata.

harshach avatar harshach commented on June 1, 2024

@sushi30 Sounds great.
We should also put in docs, if OpenMetadata using a SSO, it will do the user password validation and the default "admin" password will not apply there

from openmetadata.

harshach avatar harshach commented on June 1, 2024

on this topic if the user includes emails here we should throw an error, we had it happened in initialAdmins , users tend to add emails and will end up creating a user with wrong email id.

from openmetadata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.