UI: Wrong permission validation on Logs Servers sidebar list
Summary
When listing Logs Servers on the sidebar, the permission validation to list logs is wrong and checking for a different CRD.
Current Behaviour
The validation function asks for permission on Backup Canfigs rather than Logs Servers.
Steps to reproduce
- Create a user with enough privileges to create and list logs servers and cannot list Backup Configs
- Create one or more logs server
- The UI won't log the created logs servers
Expected Behaviour
The Sidebar should list log servers properly when the user has permissions to list them
Possible Solution
Indicate the proper CRD kind on the sidebar list
Environment
- StackGres version: 0.9
Edited by Luis Garcia