WebAdmin: Added more permission functions

It gave me a error in the console.