This commit is contained in:
@@ -72,6 +72,8 @@ IMPORTMAP
|
|||||||
NOTES FOR DOCS
|
NOTES FOR DOCS
|
||||||
- Only an empty database is supported for import
|
- Only an empty database is supported for import
|
||||||
- Only one shot import, can't import again later
|
- Only one shot import, can't import again later
|
||||||
- User's login and passwords are not imported and need to be setup again after import
|
- IMPORTED USERS
|
||||||
- Many objects are imported as tags:
|
- login and passwords are not imported and need to be setup again after import
|
||||||
- List of objects
|
- no Authorization Role is set and therefore no rights to anything. A role needs to be set after import for each user
|
||||||
|
- TAGS, the following objects are imported as tags
|
||||||
|
- TODO: List of objects
|
||||||
|
|||||||
@@ -437,6 +437,9 @@ namespace AyaNova.Biz
|
|||||||
i.Login = Hasher.GenerateSalt();
|
i.Login = Hasher.GenerateSalt();
|
||||||
i.Password = Hasher.hash(i.Salt, Hasher.GenerateSalt());
|
i.Password = Hasher.hash(i.Salt, Hasher.GenerateSalt());
|
||||||
|
|
||||||
|
//No rights
|
||||||
|
i.Roles=AuthorizationRoles.NoRole;
|
||||||
|
|
||||||
User o = await CreateAsync(i);
|
User o = await CreateAsync(i);
|
||||||
if (HasErrors)
|
if (HasErrors)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user