Closed hackartisan closed 7 years ago
well that wasn't nearly as simple as it looked
You can probably fix most of these errors by updating the permission_template factory to set workflow_name to AdminSet::DEFAULT_ID
set workflow_name to 'admin_set/default'?
okay not sure why but that seems to work.
okay the couple of pushes should bring this down to 5 failing tests. not sure what to do about the ones like https://travis-ci.org/projecthydra/sufia/jobs/212141228#L2197
okay looks like I can pass a block
looks like the permission_template table was added in 7.3.rc3 so this shouldn't need template / upgrade task infrastructure.
@hackmastera trying a rebase.
@hackmastera tossed some more deltas and squashed.
@jcoyne @hackmastera This is :green_heart: and ready for review.
Other changes I made:
AdminSet::DEFAULT_ID
and AdminSet::DEFAULT_WORKFLOW_NAME
:rage:
Should be easy to fix on Monday; I took things just a bit too far 😉
fix #3156
Question: Is this sufficient for people upgrading from sufia 7.2? Or do we also need to copy a template via an upgrade script?