Table of Contents
I'm guessing it is this kind of information...
You can get a good sense of what PTs hold by looking at the PTForm; https://github.com/samvera/hyrax/blob/master/app/forms/hyrax/forms/permission_template_form.rb
Permissions templates have a 1-1 relationship to admin sets. Admin sets are the Fedora portion of the implementation, and Permission templates are the database portion.
I'm guessing that it is when the admin set is created. And possibly when a work is created to hold participant information?
Yes, permission templates are created by the AdminSetCreateService: https://github.com/samvera/hyrax/blob/master/app/services/hyrax/admin_set_create_service.rb#L62
They can also be created by the DefaultAdminSetActor: https://github.com/samvera/hyrax/blob/master/app/actors/hyrax/actors/default_admin_set_actor.rb#L44
I'm guessing when a work is created, the participants are assigned access, the visibility of the work is set based on the visibility template, and the workflow is attached to the work.
I believe that is correct.