As mentioned in the title, we are in need of some mechanic that can restrict access for specific entries of the git context menu or the context menu entirely.
Background is, that we want to restrict some menu entries for the developers and disable the menu for externals with read-only rights on the whole instance.