Skip to content

TestQuestionPool 47122: Enforce Access on Global Units#11524

Open
matheuszych wants to merge 1 commit intoILIAS-eLearning:release_11from
matheuszych:ta/47122
Open

TestQuestionPool 47122: Enforce Access on Global Units#11524
matheuszych wants to merge 1 commit intoILIAS-eLearning:release_11from
matheuszych:ta/47122

Conversation

@matheuszych
Copy link
Copy Markdown
Contributor

See: https://mantis.ilias.de/view.php?id=47122

ilUnitConfigurationGUI::checkPermissions() now validates commands via ilRbacSystem: overview commands require read, modifying commands require write, with failure message and redirect. The add-unit toolbar action and ilUnitTableGUI CRUD UI (multiselect, sequence inputs, actions) are shown only when the user has write on the object ref. Also normalizes newline at end of tpl.unit_row_html.

/cc @thojou

See: https://mantis.ilias.de/view.php?id=47122

`ilUnitConfigurationGUI::checkPermissions()` now validates commands via `ilRbacSystem`: overview commands require `read`, modifying commands require `write`, with failure message and redirect. The add-unit toolbar action and `ilUnitTableGUI` CRUD UI (multiselect, sequence inputs, actions) are shown only when the user has `write` on the object ref. Also normalizes newline at end of `tpl.unit_row_html`.
@thojou thojou added bugfix php Pull requests that update Php code labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants