Comments (8)
The WebUI should also display the email, in addition to the username, on the page where all users are listed, since email is enforced to be unique so we can find out which email has been already in use.
My collegues also found out that email comparison was case-sensitive so they got around to create a new user with [email protected]
when [email protected]
already exist in the DB. This should probably be case-insensitive.
from magpie.
Email validation should also trim beginning and ending white spaces. I found some email with white spaces in our production DB. Probably fat finger typo when entering data in the add user form.
from magpie.
@fmigneault this is urgent for us, we are not able to add new users anymore !
from magpie.
I believe I have figured this out. The provided email was already in the system so even with new usernames the account was not being created. What is strange is that I cannot find the preexisting account in the UI user list.
from magpie.
I believe I have figured this out. The provided email was already in the system so even with new usernames the account was not being created. What is strange is that I cannot find the preexisting account in the UI user list.
In this case I think the error message should specify exactly which string was causing the duplicate error. This way we do not have to guess if it is the username or the email that is duplicated.
Back to the original cause: unclear error message
from magpie.
I will look into it assuming it is related to email.
When testing with a duplicate name, I get this answer instead of the error:
from magpie.
Email validation should also trim beginning and ending white spaces
This is done automatically by the field type validation that requires a valid email in the UI. It is also validated with a regex in the API.
Maybe they have been inserted manually in the DB? Otherwise, provide an example.
from magpie.
This is done automatically by the field type validation that requires a valid email in the UI. It is also validated with a regex in the API.
Maybe they have been inserted manually in the DB? Otherwise, provide an example.
Our production DB started with a very old version of Magpie. Could it have happened since that time? In the very early days, those validation might possibly not exist?
The user with space in their is email is actually you :D I am guessing you must be one of the first users and your account most probably was created with the very first version of Magpie.
Anyways, it's good news that those validations are there now.
from magpie.
Related Issues (20)
- [BUG] Intermittent failure since 3.19.0 on PAVICS, even without caching enabled HOT 1
- [Feature] How to specify whitelist of allowed character in username HOT 3
- Update UI to handle many permissions wider than available display width HOT 1
- Improve returned permissions contextually from service structure resources
- [Feature] Allow edit of service customizable config JSON using UI
- adjust UI to consider and disable/grey-out non applicable permissions on resources by type
- [BUG] Possible memory leak with Twitcher/Magpie HOT 5
- [Test] Add test of SMTP related functionalities
- [Feature] Custom URL endpoint protection HOT 5
- [Security] Update `sqlalchemy_utils` HOT 1
- [BUG] Edit anonymous group UI broken after sync thredds content
- [Feature] Prepare for SQLAlchemy 2.0
- Update `authomatic` HOT 1
- [Feature] Extend ServiceGeoserver to allow ServiceAPI-style permissions for /web routes HOT 1
- [BUG] login confuses usernames that differ in terms of upper/lower case HOT 4
- [BUG] [PAVICS] Logging in via email/password does not provide account name HOT 8
- [Feature] Make GeoServer permission page clearer that there are more permissions to set, currently this is misleading HOT 2
- Potential maintenance and migration away from paste
- [Feature] Provide a CLI utility to directly load a set of permissions and submit it to a remote instance
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 magpie.