Closed Kuan-Lun closed 4 months ago
I don't understand what you are doing tbh
Granting any account administrator permissions should allow the account to access all libraries. However, in practice, the libraries accessible are limited to those set for access before the administrator permissions were granted. I think this might be a bug.
can you provide which endpoints you tried that returned that error ?
import requests # type: ignore
from requests.auth import HTTPBasicAuth # type: ignore
url = f"[komga-url]/api/v1/books/0FR5EDTZ1XAKA/metadata"
response = requests.patch(
url, auth=HTTPBasicAuth("test@example.com", "test123"), json={"title": "new title"}
)
response.raise_for_status()
requests.exceptions.HTTPError: 403 Client Error: for url: [komga-url]/api/v1/books/0FR5EDTZ1XAKA/metadata
🎉 This issue has been resolved in 1.11.0
(Release Notes)
Steps to reproduce
A
andB
.alice
who is not an administrator.A
but not for libraryB
.alice
to an administrator.B
.B
despitealice
now being an administrator. This error is unexpected as admin rights should grant full access.alice
back to a non-administrator.A
andB
.alice
to an administrator.B
after the access restrictions modification.Expected behavior
See step 7.
Actual behavior
See step 6.
Logs
No response
Komga version
v1.10.4-master
Operating system
Linux
Installation method
Docker
Other details
No response
Acknowledgements