Fixed bug where permissions could not be edited.

You can now edit permissions like you can users and roles.