Git Product home page Git Product logo

Comments (4)

lorthirk avatar lorthirk commented on July 19, 2024 1

While this could actually be an issue, it should not happen anymore after fixing #14. So I'd say to keep this open but postpone an actual fix for a patch release.

from kapua.

LeoNerdoG avatar LeoNerdoG commented on July 19, 2024

Hey @lorthirk,
I have checked this in the latest commit and the user is still created if password is not valid.

from kapua.

LeoNerdoG avatar LeoNerdoG commented on July 19, 2024

I have verified that this issue does not manifest itself anymore, but as said above - we are keeping it open.

from kapua.

LeoNerdoG avatar LeoNerdoG commented on July 19, 2024

Ok so in the latest commit I found that there is a way to create a user although password is not long enough. It is a super-corner case and it is not likely to be reproduced in e.g. production, but we have to be aware of it.

  1. Login as kapua-sys, create an account (e.g. account0)
  2. Set min password length for account0 to e.g. 40
  3. Create a user in account0 (e.g. user0) and add ALL permission to him
  4. Now open second browser, login as user0
  5. Go to users, click ADD
  6. in the first browser change the min password length to e.g. 50
  7. In the second browser try to create a user with password lengh of 40 - observe the error
  8. Close the Add new user window and observe the new user - it has been created, although password was not long enoguh.

As said before, this is a corner case and it is really har dto reproduce it, becasue admin user would have to change min password length when the sub-user has opened "add new user" dialogu window.
Nonetheless, I am keeping it here, so we don't forget about it.

from kapua.

Related Issues (15)

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.