code: def transitions_for(self, roles=None, actor=None, anchors=[]):
          
          proxy = self.obj.access_for(roles, actor, anchors)
          return {name: transition for name, transition in self.transitions(current=False).items()
              if name in proxy}
docs: For use on :class:`~coaster.sqlalchemy.mixins.RoleMixin` classes:
          returns currently available transitions for the specified
          roles or actor as a dictionary of name: :class:`StateTransitionWrapper`.