-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate Authentication and Modification in AccountManager (#321)
* feat: separate adduser addaccount and addqos * feat: separate AM add partition and qos * feat: Standardize item in proto and rename it to modifyField * fix: CheckAddUserAllowedQos check qos already in user allowed * feat: modifyUser overwrite * refactor: Replace pointer parameters with references * feat: modifyuser delete * feat: delete user and fix delete user in default account(bug 179) * feat: deleteAccount deleteQos * feat: modifyAccount * fix: Cannot modify partition and qos simultaneously * feat: blockuser blockaccount * feat: refactor QueryUser QueryAccount QueryQos * feat: refactor modifyUser * feat: refactor blockaccount blockuser * fix: modifyUserdefaultqos * feat: CheckPartitionIsAllowed CheckQosIsAllowed * fix: fix modify adminLevel, new_level must <= op_level * fix: modify qos modifyField error * fix: adduser Check whether the account exists * fix: addcount opuser existed and account empty bug * fix: CheckOpUserHasPermissionToAccount * fix: simultaneous modification conflict * feat: Return front-end error code demo. * feat:fix CheckSetUserAllowedQos No result returned issue. * feat: update err code * feat: Error Code Specification * merge Add display of coordinator field (#180) * feat: To upgrade to C++23, use std::expected and std::unreachable. * feat: update errCode * delete tl expected head file * fix: errCode * fix: add ERR_PARENT_ALLOWED_ err code * fix: ERR_USER_EMPTY_PARTITION * fix: set account qos err code * refactor * refactor * refactor * refactor * refactor * refactor * refactor * refactor: unused-parameters * refactor: CraneExpected<bool> to CraneExpected<void> * refactor * refactor Signed-off-by: RileyW <wrllrwwrllrw@gmail.com> * refactor * refactor: CheckIfUserHasPemOnUser CheckIfUserHasPemOnUser CheckIfUserHasPemOnUser CheckIfUserHasPemOnUser * refactor: HasPermissionToUser * Refactor. Signed-off-by: RileyW <wrllrwwrllrw@gmail.com> * fix: double locking * refactor * refactor * fix: AddAccount * Update PublicDefs.proto Remove useless changes * fix: The default QoS setting was missed when adding the account. * refactor * Reformat cmake. Signed-off-by: RileyW <wrllrwwrllrw@gmail.com> --------- Signed-off-by: RileyW <wrllrwwrllrw@gmail.com> Co-authored-by: RileyW <wrllrwwrllrw@gmail.com>
- Loading branch information
Showing
12 changed files
with
2,502 additions
and
2,187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.