[LSO] Streamlining of Permission Handling (remove JOIN/LEAVE, migrate to READ)#11692
Open
kevenClausenKPG wants to merge 3 commits into
Open
Conversation
added 3 commits
June 16, 2026 17:51
permissions if either legacy op (participate/unparticipate) exists. Throw if read is missing to avoid silently skipping a broken upgrade.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context / Feature request
This PR implements the JourFixe decision (18 MAY 2026) according to the feature wiki entry:
JourFixe, ILIAS (18 MAY 2026) clarified:
JOINandLEAVE(shown asSubscribe/Unsubscribein the permission tab).JOINand/orLEAVEpermission will receiveREADpermission.Problem
The Learning Sequence (
lso) previously usedparticipate/unparticipate(JOIN/LEAVE) for starting/finishing, leading to confusing and error-prone permission setups compared to other ILIAS objects.Changes
1) Unify access handling to
readparticipateandunparticipatefor launching/starting.checkAccess('read', ...).unparticipate) is no longer controlled by RBACunparticipate, but by:isMember()), andread.ilObjLearningSequenceGUI::unparticipate()now checksreadand only callsleave()if the user is actually a member.2) Clean up permission/command offering
unparticipatepermission command fromilObjLearningSequenceAccess::_getCommands().unparticipateas a configurable permission forlso.3) DB migration + remove legacy ops from the
lsotyperbac_paentries forlso: convertparticipateand/orunparticipatepermissions toread.participateandunparticipatefrom the type operation assignment (rbac_ta) forlsosoSubscribe/Unsubscribeno longer appear in the permission tab.Migration / upgrade behavior
participateand/orunparticipateon Learning Sequences will haveread.participate/unparticipateare no longer available forlsoin the permission tab.