We are implementing Plone as a document management system in a hospital setting. In doing so, the review process asks for two review steps:
you've to write your pas plugin. You can start from this: http://pypi.python.org/pypi/Products.AutoRoleFromHostHeader/ (works also for groups) and create your own which assign a role/group. This plugin is very simple and just do this:
security.declarePrivate('getRolesForPrincipal')
def getRolesForPrincipal(self, principal, request=None):
""" Assign roles based on 'request'. """
there, you can do your own logic and assign to the user a group based on the parameters defined at the document type level and assigned at the document instance level.