Fix bug with permission abstract model