Bonfire.Boundaries.Scaffold.Instance (Bonfire v1.0.1-social-alpha.9)
View SourceProvides functions to create default boundary fixtures for the instance.
Summary
Functions
Prepares and returns the fixtures for ACLs, circles, verbs, named entities, and grants.
Prepares fixtures and inserts them into the database.
Inserts or updates the ACLs in the database.
Inserts or updates circles in the database.
Inserts or updates the verbs in the database.
Functions
Prepares and returns the fixtures for ACLs, circles, verbs, named entities, and grants.
Prepares fixtures and inserts them into the database.
Inserts or updates the ACLs in the database.
Useful for migrations when adding new built-in ACLs. This will:
- Insert the ACL records (ignoring if they already exist)
Inserts or updates circles in the database.
Useful for migrations when adding new built-in circles. This will:
- Insert the circle records (ignoring if they already exist)
- Add names for the circles
- Set up caretakers (admin circle as caretaker)
Inserts or updates the verbs in the database.