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

Can add screenshot to language that I do not have permission for #6426

Closed
StefanBrand opened this issue Aug 13, 2021 · 2 comments
Closed

Can add screenshot to language that I do not have permission for #6426

StefanBrand opened this issue Aug 13, 2021 · 2 comments
Labels
wontfix Nobody will work on this.

Comments

@StefanBrand
Copy link

Describe the issue

I have a group with following roles:

  • Power user
  • Manage Screenshots

and following languages:

  • Hungarian
  • Romanian

Still, I can add a screenshot to language English. I cannot delete that screenshot later though.

To Reproduce the issue

Steps to reproduce the behavior:

  1. Add a group with Manage Screenshots role and language restriction to e.g. Hungarian
  2. Add user to group
  3. Click "Add Screenshot" on a translation
  4. Choose English
  5. Screenshot is added
  6. Click on "Delete" -> Permission Denied - Insufficient privileges to display this page.

Expected behavior

It is not possible to add a screenshot to a language that I do not have permission for.

Server configuration and status

Weblate installation: HelmRelease

@nijel
Copy link
Member

nijel commented Aug 19, 2021

The screenshot's permissions are currently mostly component-wide. I'm not sure changing this is a good idea - in most cases screenshots are uploaded to the source language and the typical use is that the person (or a bot) uploading screenshots does not have permission to edit the source language.

@github-actions
Copy link

This issue has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Aug 30, 2021
@github-actions github-actions bot closed this as completed Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix Nobody will work on this.
Projects
None yet
Development

No branches or pull requests

2 participants