uc_roles

Posts: 12
Joined: 11/30/2007
Bug Finder

Is there any chance we can get remove roles on purchase to go with adding roles on purchase?

Posts: 46
Joined: 11/22/2007

Technically, I would say sure, why not, but... Could you describe the case in which you want to do this? It seems to me at first sight this is quite a specific need?

Posts: 12
Joined: 11/30/2007
Bug Finder

The main reason for this would be if you have a product which handles a membership type. If a user has say a role that gives them permissions as one type of member. When they upgrade by purchasing a product you want to set the new roles for that membership and may want to remove the role for the old membership.

Posts: 332
Joined: 08/07/2007
Administrator

it sounds like this would be a job for workflow-ng. I have to use its API but seems like something that shouldn't be hard to do. I'll take a look into when we look toward depreciating uc_notify in favor of workflow.

--

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine