Check permissions based on projects