Complete foundational implementation of the permission system with user roles, gates, policies, and admin interface for managing user permissions.