Fix a permission bug in admin manage roles and manage permissions