Add the types relevant types for the `cockpit.permission` function so that we can establish whether the user has the correct privileges to run the frontend on-prem.