GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use channelVersion objects instead of special permission ids by taoerman · Pull Request #5622 · learningequality/studio

Conversation

@taoerman

@taoerman taoerman commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Refactored special permissions loading to use channelVersionId instead of permissionIds.

References

Fixed #5617

Reviewer guidance

test manually

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
taoerman and others added 3 commits January 4, 2026 19:34
@taoerman
Use channelVersion objects instead of special permission ids
16dbc15
@pre-commit-ci-lite
[pre-commit.ci lite] apply automatic fixes
ef6bbf3
@taoerman
fix linting
154ccb8
@AlexVelezLl
AlexVelezLl self-requested a review January 6, 2026 13:16
@AlexVelezLl AlexVelezLl self-assigned this Jan 6, 2026
AlexVelezLl
AlexVelezLl requested changes Jan 6, 2026
View reviewed changes

@AlexVelezLl AlexVelezLl left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @taoerman! This is looking great! The only major concern is about the changes to the shared styles file!

Additionally, could you please address this comment within the scope of this PR? Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...components/sidePanels/SubmitToCommunityLibrarySidePanel/composables/useSpecialPermissions.js Outdated
Comment on lines +54 to +59
permissions.value = response.map(permission => ({
id: permission.id,
description: permission.description,
distributable: permission.distributable,
}));
}

@AlexVelezLl AlexVelezLl Jan 6, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can just do permissions.value = response, right?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@taoerman taoerman Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...ation/frontend/channelEdit/components/sidePanels/SubmitToCommunityLibrarySidePanel/index.vue Outdated
Comment on lines +434 to +437
if (versionDetail.value?.id) {
return versionDetail.value.id;
}
return null;

@AlexVelezLl AlexVelezLl Jan 6, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we can just do return versionDetail.value?.id; and it would have the same effect.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@taoerman taoerman Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread contentcuration/contentcuration/frontend/shared/styles/main.scss Outdated
@@ -1,5 +1,5 @@
@import '~material-icons/iconfont/material-icons.css';
@import '~kolibri-design-system/lib/styles/common';
@import '~kolibri-design-system/lib/styles/definitions';

@AlexVelezLl AlexVelezLl Jan 6, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like we have an unintended change here? 👀

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@taoerman taoerman Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
taoerman and others added 8 commits January 19, 2026 09:27
@taoerman
fix code
0f6513b
@taoerman
fix code
70778ea
@pre-commit-ci-lite
[pre-commit.ci lite] apply automatic fixes
a61be92
@taoerman
fix code
5f9a2d7
@taoerman
fix code
7299a84
@pre-commit-ci-lite
[pre-commit.ci lite] apply automatic fixes
a89d2dc
@taoerman
fix code
13abc92
@taoerman
Merge branch 'issue-5617-Use-channelVersion-objects-instead-of-specia…
9cab8cf
…l-permissio-ids' of https://github.com/taoerman/studio into issue-5617-Use-channelVersion-objects-instead-of-special-permissio-ids

merge
AlexVelezLl
AlexVelezLl approved these changes Jan 19, 2026
View reviewed changes

@AlexVelezLl AlexVelezLl left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @taoerman! Code changes make sense, and I didn't find any regression while manually testing it. LGTM!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@AlexVelezLl
AlexVelezLl merged commit 02bb158 into learningequality:unstable Jan 19, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

AlexVelezLl pushed a commit to AlexVelezLl/studio that referenced this pull request Jan 28, 2026
@taoerman @pre-commit-ci-lite @AlexVelezLl
Use channelVersion objects instead of special permission ids (learnin…
d80c10a
…gequality#5622)

* Use channelVersion objects instead of special permission ids

* [pre-commit.ci lite] apply automatic fixes

* fix linting

* fix code

* fix code

* [pre-commit.ci lite] apply automatic fixes

* fix code

* fix code

* [pre-commit.ci lite] apply automatic fixes

* fix code

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AlexVelezLl AlexVelezLl AlexVelezLl approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@AlexVelezLl AlexVelezLl

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

ESoCC: Use channelVersion objects instead of special permission ids

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@taoerman @AlexVelezLl
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.