New: Enable access control (fixes #66)#76
Merged
Conversation
github-actions Bot
pushed a commit
that referenced
this pull request
Jul 9, 2026
# [1.11.0](v1.10.0...v1.11.0) (2026-07-09) ### Chore * replace legacy new.yml with direct add-to-project workflow ([bfc943e](bfc943e)) * trigger add-to-project on reopened issues and PRs ([9cad82a](9cad82a)) ### New * Enable access control (fixes #66) (#76) ([5ab070f](5ab070f)), closes [#66](#66) [#76](#76) ### Upgrade * Bump adapt-authoring-api from 3.10.0 to 4.0.1 ([87a07a4](87a07a4))
|
🎉 This PR is included in version 1.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Fixes #66
New
_accessmodel: callthis.enableAccessControl()ininit()(adds the base_access.publicgrant and extends the asset schema) and wire per-user sharing viausers.registerUserModule(this). Group sharing is wired from the usergroups module (adapt-authoring-usergroups#14), so assets now supports_access.public/_access.users/_access.groups.authored.registerModule(this, { accessCheck: false })is retained) — assets are shared, not owner-scoped.Testing
npx standardclean._accessschema composition (public+users+groupson one schema) is verified in the usergroups PR; assets picks up the same fragments at runtime.Notes
_accessrollout (api #98)._access.publicdefaults totrue, so enabling is additive — existing assets stay visible until explicitly restricted. Lands in the coordinated umbrella release with usergroups Fix: set type to 'other' for non-AV assets (fixes #13) #14, content #117 and adaptframework #194 (which removes the old restrictive group fence).