Comments (4)
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.
Hey @lorthirk,
I have checked this in the latest commit and the user is still created if password is not valid.
from kapua.
I have verified that this issue does not manifest itself anymore, but as said above - we are keeping it open.
from kapua.
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.
- Login as kapua-sys, create an account (e.g. account0)
- Set min password length for account0 to e.g. 40
- Create a user in account0 (e.g. user0) and add ALL permission to him
- Now open second browser, login as user0
- Go to users, click ADD
- in the first browser change the min password length to e.g. 50
- In the second browser try to create a user with password lengh of 40 - observe the error
- 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)
- Minimal Value can be Higher Than 255 Characters HOT 6
- Password Visible in Error Message HOT 1
- Wrong Error Message When Min Password Length too Short HOT 1
- Syntax Error in min Password Length Description HOT 1
- Min Password Value Saved Although too Short HOT 3
- Field Description for Passwords Does not change When Changed in Account Settings HOT 3
- Wrong Error if User Enters "." or "-" Symbols in min.password length Field HOT 1
- Different Error Messages if Password Not Long Enough HOT 5
- Wrong Error Message When Min Password Length >255
- Wrong Error Message When Number Contains two "-" symbols Before a Number HOT 1
- Change Password Tooltip Not OK
- Error 500 WHen Trying to Change Password
- Too Long Error When Copy-Pasting Characters Into min password Length Field HOT 3
- Enable/Disable MFA Button in MFA not Working Properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kapua.