You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In AccountService an administrator should be able to manage Roles for users
User Stories:
There should be a Role (RoleManager) in system that has access to manage roles
If I haven't this role, I should not be able to manage roles
If I am RoleManager I can get, create, delete, and update roles
Requirements:
Create RolesController
Authorize with RoleManager role
GET: List of roles which contains just Name
Get single Role: Use slug based query, for example /api/roles/applicant. Here applicant the Name of role
Create: It should provide just Name
Update: It should provide slug of updating claim in request route, and Name
Delete: Delete it using slug
Create UserRolesController
Authorize with RoleManager role
GET: List of roles which contains just UserName, Role (Filter Role, UserName)
Get single Role: Use slug based query, for example /api/userroles/komdil-admin.
Create: It should provide just RoleId, UserId
Delete: Delete it using slug
Add integration tests
CLAIMS:
In AccountService an administrator should be able to manage Claims for users
User Stories:
If I am not a ClaimsManager, I should not be able to manage claims
If I am ClaimsManager I can get, create, delete, and update claims
I am a user in MRA Jobs and I should have Id claim by default. It will be used to insert user related data in MRA Jobs (The same with OnlinePlatform)
Requirements:
Create ClaimsController
Authorize with super admin role
GET: List of claims which contains (UserName, ClaimType, ClaimValue) (Except of Id,) Filter (Username,ClaimType)
Get single Claim: Use slug based query, for example /api/claims/komdil-application. Here komdil is username and application is claim type
Create: It should provide UserId, ClaimType and ClaimValue
Update:It should provide slug of updating claim in request route, ClaimType and ClaimValue
Delete: Delete it using slug
USERS:
In AccountService an administrator should be able to manage Users
User Stories:
There should be a Role (UserManager) in system that has access to manage users
If I haven't this role, I should not be able to manage users
Requirements:
Create UsersController
Authorize with UserManager role
GET: List of users which contains Id, UserName, Email, PhoneNumber,EmailConfirmed, PhoneNumberConfirmed
Get single User: Use slug based query, for example /api/users/komdil. Here komdil is the UserName of the user
It will be ready on 26/09/2023
It will be ready on 28/09/2023
It will be ready on 03/10/2023
It will be ready on 05/10/2023
It will be ready on 10/10/2023
The text was updated successfully, but these errors were encountered:
ROLE:
In AccountService an administrator should be able to manage Roles for users
User Stories:
There should be a Role (RoleManager) in system that has access to manage roles
If I haven't this role, I should not be able to manage roles
If I am RoleManager I can get, create, delete, and update roles
Requirements:
Create RolesController
Authorize with RoleManager role
GET: List of roles which contains just Name
Get single Role: Use slug based query, for example /api/roles/applicant. Here applicant the Name of role
Create: It should provide just Name
Update: It should provide slug of updating claim in request route, and Name
Delete: Delete it using slug
Create UserRolesController
Authorize with RoleManager role
GET: List of roles which contains just UserName, Role (Filter Role, UserName)
Get single Role: Use slug based query, for example /api/userroles/komdil-admin.
Create: It should provide just RoleId, UserId
Delete: Delete it using slug
Add integration tests
CLAIMS:
In AccountService an administrator should be able to manage Claims for users
User Stories:
If I am not a ClaimsManager, I should not be able to manage claims
If I am ClaimsManager I can get, create, delete, and update claims
I am a user in MRA Jobs and I should have Id claim by default. It will be used to insert user related data in MRA Jobs (The same with OnlinePlatform)
Requirements:
Create ClaimsController
Authorize with super admin role
GET: List of claims which contains (UserName, ClaimType, ClaimValue) (Except of Id,) Filter (Username,ClaimType)
Get single Claim: Use slug based query, for example /api/claims/komdil-application. Here komdil is username and application is claim type
Create: It should provide UserId, ClaimType and ClaimValue
Update:It should provide slug of updating claim in request route, ClaimType and ClaimValue
Delete: Delete it using slug
USERS:
In AccountService an administrator should be able to manage Users
User Stories:
There should be a Role (UserManager) in system that has access to manage users
If I haven't this role, I should not be able to manage users
Requirements:
Create UsersController
Authorize with UserManager role
GET: List of users which contains Id, UserName, Email, PhoneNumber,EmailConfirmed, PhoneNumberConfirmed
Get single User: Use slug based query, for example /api/users/komdil. Here komdil is the UserName of the user
It will be ready on 26/09/2023
It will be ready on 28/09/2023
It will be ready on 03/10/2023
It will be ready on 05/10/2023
It will be ready on 10/10/2023
The text was updated successfully, but these errors were encountered: