Skip to content

adding permissions field to queries#18604

Merged
insomnious merged 1 commit intomasterfrom
18453-collection-permissions
Oct 28, 2025
Merged

adding permissions field to queries#18604
insomnious merged 1 commit intomasterfrom
18453-collection-permissions

Conversation

@IDCs
Copy link
Contributor

@IDCs IDCs commented Oct 22, 2025

closes #18453

requires:
Nexus-Mods/extension-collections#64

How to test

Testing should be done using two non-admin accounts as all admin accounts have the ability to edit a collection.

User A creates a collection, publishes it and gives permissions to User B

User B downloads the collection and clones it - after a permissions check, User B will be able to upload an update for the collection.

Functionality-wise, the permissions are asserted upon cloning a collection, you can confirm that it's working as the "Upload Update" button will appear instead of the "Upload New" button which is displayed when the user does not have permissions to edit the collection.

Please note that the myCollections query does not currently return collections where User B has been given permissions for, this is what is used to display uninstalled workshop collections automatically, and we therefore cannot display those in the workshop without User B cloning the collection.

@insomnious insomnious merged commit 1b56211 into master Oct 28, 2025
1 check passed
@insomnious insomnious deleted the 18453-collection-permissions branch October 28, 2025 10:49
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.

Allow users with correct permissions to edit a collection

2 participants