Just to add a finder for the Permission, this Active Record way is being replaced by @Query at Repositories.