-
Notifications
You must be signed in to change notification settings - Fork 0
Api
get auth user and return relevant users. If the user is admin return all users with same schoolId. If the user is Student return all users with same layerId. If the user not auth retun { success: false, message: "auth flase" }
get user and user to update. The function update the user. if faild return { success: false, message: "Failed to update user. Error: ${err}" }
get new password and old password, the function verify old user and update to new password (encrypt password).
create new user with student
permission.
get xls file with users and create for all user in xls user in the system.
add last opertion for user
if the user is admin or charge return the layers belonge to the user. else return {success: false, resone: "user havn't permission"}
get layer and create new layer.
get layer and update exist layer if exist
create new swap request for this layer.
response for exist swap request