SeedRepository
class SeedRepository (View source)
Writes the PermissionCatalogue seed data into freshly created Poweradmin tables.
Methods
void
seedPermissions()
No description
array
seedDefaultTemplates()
Creates the default user and group permission templates with their permissions, and the default user groups backed by the group templates.
void
createAdminUser(string $passwordHash, int $permTemplId)
No description
Details
__construct(PDO $db, string $dbType)
No description
void
seedPermissions()
No description
array
seedDefaultTemplates()
Creates the default user and group permission templates with their permissions, and the default user groups backed by the group templates.
void
createAdminUser(string $passwordHash, int $permTemplId)
No description