-
Notifications
You must be signed in to change notification settings - Fork 23
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 <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
/** | ||
* 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 <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
…API dependency calling (#201) * hide notebook feature when mds enabled Signed-off-by: tygao <tygao@amazon.com> * remove useraccess Signed-off-by: tygao <tygao@amazon.com> * add internal account api Signed-off-by: tygao <tygao@amazon.com> * test: update tests Signed-off-by: tygao <tygao@amazon.com> * doc: update changelog Signed-off-by: tygao <tygao@amazon.com> * update mock function Signed-off-by: tygao <tygao@amazon.com> * update mock function Signed-off-by: tygao <tygao@amazon.com> * delete unused file Signed-off-by: tygao <tygao@amazon.com> --------- Signed-off-by: tygao <tygao@amazon.com> (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 <tygao@amazon.com> * remove useraccess Signed-off-by: tygao <tygao@amazon.com> * add internal account api Signed-off-by: tygao <tygao@amazon.com> * test: update tests Signed-off-by: tygao <tygao@amazon.com> * doc: update changelog Signed-off-by: tygao <tygao@amazon.com> * update mock function Signed-off-by: tygao <tygao@amazon.com> * update mock function Signed-off-by: tygao <tygao@amazon.com> * delete unused file Signed-off-by: tygao <tygao@amazon.com> --------- Signed-off-by: tygao <tygao@amazon.com> (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.