CockpitQL
CockpitQL copied to clipboard
Respect cockpit permissions
Current
It seems that the token
parameter is always needed when getting data. Even if the requested data has public visibility.
Expected
- The token is only required when needed. If all the queries have public visibility, then the token is not required.
Additional data: permissions logic added to the collection (via the CRUD code editor fields under Permissions tab) is not respected when querying via cockpitql. This is a security concern, as potentially sensitive data could be exposed on the cockpitql endpoint.
@aheinze This seems pretty critical for production use