-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide notebook feature when MDS enabled and remove security dashboard API dependency calling #201
Conversation
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
/** | ||
* Returns true if current user has permission to use assistant features. | ||
*/ | ||
userHasAccess: () => Promise<boolean>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it safe to remove this API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my understanding, we use this property to control user access to assistant. If we remove security API and don't control user access in frontend, we could remove this API, right?
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
…API dependency calling (#201) * hide notebook feature when mds enabled Signed-off-by: tygao <[email protected]> * remove useraccess Signed-off-by: tygao <[email protected]> * add internal account api Signed-off-by: tygao <[email protected]> * test: update tests Signed-off-by: tygao <[email protected]> * doc: update changelog Signed-off-by: tygao <[email protected]> * update mock function Signed-off-by: tygao <[email protected]> * update mock function Signed-off-by: tygao <[email protected]> * delete unused file Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> (cherry picked from commit e834cd5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
…API dependency calling (#201) (#202) * hide notebook feature when mds enabled Signed-off-by: tygao <[email protected]> * remove useraccess Signed-off-by: tygao <[email protected]> * add internal account api Signed-off-by: tygao <[email protected]> * test: update tests Signed-off-by: tygao <[email protected]> * doc: update changelog Signed-off-by: tygao <[email protected]> * update mock function Signed-off-by: tygao <[email protected]> * update mock function Signed-off-by: tygao <[email protected]> * delete unused file Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> (cherry picked from commit e834cd5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Hide notebook feature when MDS enabled and remove security dashboard API dependency calling
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.