Skip to content

Nrw15 - Add ATLAS ID to STACK questions in Moodle. Change external DB permission level. - #1951

Open
EJMFarrow wants to merge 13 commits into
devfrom
nrw15
Open

EJMFarrow wants to merge 13 commits into
devfrom
nrw15

Conversation

@EJMFarrow

Copy link
Copy Markdown
Collaborator
  • Add a new ATLAS ID in prescribedmetadata to STACK questions on save unless we're importing a question with an existing ATLAS ID.
  • Keep a record of previous IDs.
  • Change externallibrary permission to be at course rather than system level.

@EJMFarrow
EJMFarrow requested review from BHSchulz and m-r-k November 5, 2026 10:04
LMS keys may not use POST /questions/upload (atlas-hub only, HTTP 403).
Send the exported XML as multipart file to POST /uploads instead and show
the claim link from the 202 response, which hands the upload to the STACK.nrw
hub for metadata and publishing.
Only user-facing strings and comments; config keys (nrwapikey, nrwupload),
string identifiers and constants keep their names so existing settings stay.
The German language pack (AMOS) already translates nrwuploadbutton,
nrwuploadapikeymissing and stack_library_nrw with "STACK.nrw"/"NRW", so
changing only the English text left the old name on German sites. New
identifiers (atlasupload*, settingatlas*, exporttoatlas, stack_library_atlas)
fall back to the English text until they are translated. Config keys
(qtype_stack/nrwapikey, qtype_stack/nrwupload) are unchanged.

This branch has not been deployed

No deployments
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