Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V15: Schedule only languages you have access to #18433

Merged
merged 4 commits into from
Feb 25, 2025

Conversation

iOvergaard
Copy link
Contributor

@iOvergaard iOvergaard commented Feb 24, 2025

Description

This aligns the Schedule modal with the Save and Publish modals so that all languages are shown, but you are only allowed to select the languages you have access to.

It also fixes a bug where the server would not accept values for languages, you do not have access to, even though you did not change them, by making sure only "selected" (or changed) languages are sent out from the modal.

Fixes AB#45943

How to test

  1. Create a user group with access to only one language (out of more)
  2. Create a variantable page
  3. Check that you can schedule only the language you have access to
  4. Verify that you cannot accidentally click on other languages

Screenshots

Before, it would only show "Danish" and now it will also show English but grayed out:

image

otherwise the server will not accept values from languages you do not have access to
@iOvergaard iOvergaard enabled auto-merge (squash) February 24, 2025 13:45
…e-language-access
@iOvergaard iOvergaard merged commit e5d5f03 into v15/dev Feb 25, 2025
23 checks passed
@iOvergaard iOvergaard deleted the v15/bugfix/schedule-language-access branch February 25, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants