Refactored privilege to permission