Everything shall be an enum! Replace hardcoded permissions with an enum.