Apologies for the terrible title, but I'm having trouble expressing succinctly what I'm trying to do.
I have Accounts, and these accounts can do things like create Projects or Credits or Trades. I need to require administrator approval for any changes to these things. The catch is, all of these models are tagged as belonging to a particular State (as in a US state). I need to have administrator Accounts that belong to each state and are required to authorize any changes to anything that happens in their state. So for example, if you create a project that's in Virginia, I need to have functionality that allows a Virginia administrator to come in and approve the project, or approve any trades happening in Virginia.
The best analogy I can think of is how in a web forum you would have users that are moderators over specific forums but not the whole site.
Is there some way that I can "tag" anything that belongs to this model needs to require that admin's approval?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…