Skip to content

[Bug] Hide Authoring roles in the role assignment wizard when Authoring is disabled at platform, org, and course level #341

Description

@gviedma-aulasneo

Current

Currently, when a user opens the role assignment wizard and the Authoring waffle flag is off at the platform level, they can still see Authoring roles as available assignment options.

Currently, when a user opens the role assignment wizard and Authoring is disabled at platform, org, and course level, they can still see Authoring roles as available assignment options.

This allows users to view and select roles that belong to a disabled domain.

Expected

When the Authoring waffle flag is off at the platform level, Authoring roles must not be exposed in the role assignment wizard.
When Authoring is disabled at platform, org, and course level, Authoring roles must not be exposed in the role assignment wizard.

The roles available for assignment must be restricted according to the enabled domains and the current user's permissions:

  • If the Authoring waffle flag is off at the platform level**, and course-level and org-level waffle are off,** Authoring roles must not be listed.
  • If the Authoring waffle flag is off at the platform level, and course-level or org-level waffle are on Authoring roles can be shown according to the current user's scope and permissions.
  • If the Authoring waffle flag is on at the platform level, Authoring roles can be shown according to the current user's scope and permissions.

There are no intermediate states for this behavior. The feature is either enabled or disabled at the platform level. Existing org-level and course-level waffle flags should return the same state as the platform-level on value and must not introduce additional role assignment behavior.

US

As a user assigning roles to others,

I want to see only the roles that belong to enabled domains,

So that I cannot assign Authoring-related roles when the Authoring waffle flag is off for all scope levels.

Metadata

Metadata

Labels

release blockerBlocks the upcoming release (fix needed)release testingAffects the upcoming release (attention needed)verawoodReleased in Verawood

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
In progress
Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions