Skip to content

[PRT-2714] fix: hide AI artifacts dropdown from students in meeting rows - #177

Merged
Lucas-Schell merged 3 commits into
masterfrom
2714-fix-hide-ai-artifacts-dropdown-for-students
Aug 7, 2026
Merged

[PRT-2714] fix: hide AI artifacts dropdown from students in meeting rows#177
Lucas-Schell merged 3 commits into
masterfrom
2714-fix-hide-ai-artifacts-dropdown-for-students

Conversation

@EllenRocha1

@EllenRocha1 EllenRocha1 commented Aug 5, 2026

Copy link
Copy Markdown

The dropdown only checked ai_artifacts_enabled?/release date, so students could see (and attempt to trigger) the AI artifacts action even though the backend already restricts :download_artifacts to moderators/admins. Adds the same Abilities.full_permission? check to the elos and rnp _meeting_row partials.

Fixes the 500 on meetings_pagination when @user is nil, and keeps the file's fail-closed behavior: no user, no permission.

Promotional elements is now hidden from students: the "Novas funcionalidades" banner on the scheduled meetings screen and the "Novidade" announcement above the recordings history.

Visual Changes

Before:
image (1)

After:
hide_dropdown_elos_05-47_bbb-app-rooms_05-08

@notion-workspace

Copy link
Copy Markdown

@Lucas-Schell
Lucas-Schell merged commit d01d679 into master Aug 7, 2026
@Lucas-Schell
Lucas-Schell deleted the 2714-fix-hide-ai-artifacts-dropdown-for-students branch August 7, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants