expose all RestPermissions to web interface so we can use it in the editor