Hi,
I'm looking at the user module because I want to implement a login feature on one of my web application. More specifically, I'm looking at the restrictions: http://docs.basex.org/wiki/Valid_Names#Valid_Names
For web applications, it is very usual for people to use an email as a username. The restriction on the period character is very annoying in that regard.
I understand why it's a restriction on database names, but for user names it creates a limit on the ability for less frequent users to access the site. Most people remember which email they used or have only 2 or 3 to try. Passwords are saved in keychains. However, remembering a username... pfff!
Is there any way that the restrictions on user names could be adapted to allow for characters that are valid for an email address in the near future?
Hello France,
it is quite unusual to use the Database users as web application users. If you develop an RESTXQ application, queries are executed as the same user if you do not specifiy it, e.g. using eval.
So what we usually do (and what I would expect to be the normal use case) is to have some kind of user database with user names and passwords and to check this during login and access restriction checks.
Or is there any particular reason why you would want to user database users as web application users?
Cheers, Dirk
On 02/27/2016 06:14 PM, France Baril wrote:
Hi,
I'm looking at the user module because I want to implement a login feature on one of my web application. More specifically, I'm looking at the restrictions: http://docs.basex.org/wiki/Valid_Names#Valid_Names
For web applications, it is very usual for people to use an email as a username. The restriction on the period character is very annoying in that regard.
I understand why it's a restriction on database names, but for user names it creates a limit on the ability for less frequent users to access the site. Most people remember which email they used or have only 2 or 3 to try. Passwords are saved in keychains. However, remembering a username... pfff!
Is there any way that the restrictions on user names could be adapted to allow for characters that are valid for an email address in the near future?
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com mailto:france.baril@architextus.com
Hi France,
Makes sense to me. I have lifted the restrictions on user and database names; dots may now occur in names, unless it’s not the first or last character [1,2].
Cheers, Christian
[1] http://docs.basex.org/wiki/Commands#Valid_Names [2] http://files.basex.org/releases/latest/
On Sat, Feb 27, 2016 at 6:14 PM, France Baril france.baril@architextus.com wrote:
Hi,
I'm looking at the user module because I want to implement a login feature on one of my web application. More specifically, I'm looking at the restrictions: http://docs.basex.org/wiki/Valid_Names#Valid_Names
For web applications, it is very usual for people to use an email as a username. The restriction on the period character is very annoying in that regard.
I understand why it's a restriction on database names, but for user names it creates a limit on the ability for less frequent users to access the site. Most people remember which email they used or have only 2 or 3 to try. Passwords are saved in keychains. However, remembering a username... pfff!
Is there any way that the restrictions on user names could be adapted to allow for characters that are valid for an email address in the near future?
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com
basex-talk@mailman.uni-konstanz.de