[cvs] [Wiki] changed: HordePolicy
Ben Chavet
ben at horde.org
Sat May 20 19:12:18 PDT 2006
ben Sat, 20 May 2006 19:12:17 -0700
Modified page: http://wiki.horde.org/HordePolicy
New Revision: 1.14
Change log: thoughts about how get the attribute-group structure without explicitly storing it.
@@ -112,19 +112,9 @@
target_id
target_type <-- maybe
</code>
-I'm not exactly sure how to throw the attribute-groups in here yet. Maybe, something like (taking some ideas from datatree here):
-
-<code>
-horde_policy
-------------
-policy_id
-policy_name
-policy_parent <-- no need for all parents, just immediate parent
-</code>
-
-This would abstract the "policy" a bit and make them nestable in a tree. So, attribute-group == policy for all practical purposes. Problem is, a policy as a whole has a target, and attribute-groups would not have a target. hmmm...
+We can get the attribute group structure from the XML file. No need to worry about storing it, just need to enforce that all attributes for a given app have unique names. If there are two attributes with the same name, we should use the last one found in the XML file.
----
++ Cache
More information about the cvs
mailing list