Adding id to permissions table to improve testability