Revert "[abac] Modify core functions to handle more precise multi-valued attributes"

Wrong file added

This reverts commit 38eccafb74.
This commit is contained in:
Mikaël Ates 2011-08-23 17:04:25 +02:00
parent a9908893ab
commit 8b5d3ece1e
1 changed files with 1 additions and 9 deletions

View File

@ -30,9 +30,7 @@ from acs.xacml.constants import *
SOURCE_TYPE = (
('DIRECT', _('Direct trusted source')),
('ANCHOR', _('Trust anchor')),
('LOCAL', _('Local source')),
('SELF', _('Untrusted or user self-asserted')))
('ANCHOR', _('Trust anchor')))
class Source(models.Model):
@ -258,12 +256,6 @@ class PredicateRequired(Predicate):
def __unicode__(self):
return "Predicate required: %s" % str(self.definition)
#class PredicateRole(Predicate):
# role = models.ForeignKey('Role')
# def __unicode__(self):
# return "Predicate role: %s" % str(self.role)
MULTIVALUES_OPTION = (
('NO_MULTIVALUES', _('Only accept single valued attributes')),
('EQUAL_ONE_VALUE', _('At least one value matches')),