Skip to content
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

Adjusting Access Control in the Admin Panel #5

Open
ThomasCardin opened this issue May 1, 2024 · 0 comments
Open

Adjusting Access Control in the Admin Panel #5

ThomasCardin opened this issue May 1, 2024 · 0 comments

Comments

@ThomasCardin
Copy link
Member

The feature implemented by the openweb-ui team in release 0.1.122 has raised considerations regarding security best practices:

👨‍💼 Improved Admin Panel: Admins currently have the ability to conveniently view users' chat lists and their last active status directly from the admin panel.

Proposed Changes

To align with security best practices, consider modifying the following components to allow enabling or disabling the feature, rather than removing it entirely:

  1. Modify Access to Chat Previews:

    • Current Implementation: Modal UI that allows previewing of user chats.
    • Location: UserChatsModal.svelte (ui)
    • Proposed Change: Introduce settings to enable/disable this UI as needed.
  2. API Calls for Chat Data:

    • Current Implementation: API call that retrieves user chats.
    • Location: Chats API (typescript)
    • Proposed Change: Add configuration options to control the availability of this data fetch feature.
  3. Backend Data Fetching:

    • Current Implementation: Backend call to fetch user chats.
    • Location: Backend routing for chats (python)
    • Proposed Change: Implement conditional processing based on admin settings to either enable or disable this feature.

By modifying these components, we can ensure that the admin panel remains flexible and secure, giving administrators the ability to tailor the interface according to their organization’s security policies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant