[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition) |
[eluser]OverZealous[/eluser]
@80onelove It's possible, but not really practical, with the original DataMapper (it requires using a dedicated model to handle the relationships, and a lot of extra queries to look them up) With DMZ, you can easily use join fields to add one or more additional columns on blogs_users. The column could be as simple as storing a value for the access level, or the ID of a privilege model. Or you could store more complex values on the join table directly. Then you can query using that value, and include it when getting results. |
Welcome Guest, Not a member yet? Register Sign In |