Skip to content

"Roles and permissions" button is visible on Studio Home for users without permissions #183

Description

@BryanttV

Description

The Roles and Permissions button remains visible on the Studio Home page regardless of the user's assigned permissions.

Currently, the button is displayed even if the user does not have the necessary permissions to view the libraries or courses team. This creates a confusing user experience by exposing UI elements that the user cannot effectively interact with or lacks authorization to use.

This issue affects:

  • The Studio Home page
  • UI visibility logic for role-based access control (AuthZ)

Steps to reproduce

  1. Log in to Studio with a user account that does not have permissions to view the libraries or courses team.
  2. Navigate to the Studio Home page.
  3. Observe the UI elements available on the page.
  4. Notice that the Roles and Permissions button is displayed.

Expected behavior

The Roles and Permissions button should only be visible to users who have the appropriate permissions to view or manage the libraries/courses team.

If a user lacks these permissions, the button should be completely hidden from the Studio Home interface to reflect their actual access level accurately.

Current behavior

The UI unconditionally displays the Roles and Permissions button on the Studio Home page, regardless of whether the user has been granted the required permissions to view the team for libraries or courses.

Video / Screenshots

Screencast.From.2026-07-15.17-48-28.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions