Changeset b931822 for fedd/access_to_abac.py
- Timestamp:
- Jul 7, 2012 10:25:21 PM (12 years ago)
- Branches:
- compt_changes, master
- Children:
- 2c36179
- Parents:
- bcc6fd6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/access_to_abac.py
rbcc6fd6 rb931822 21 21 Encapculate a principal/attribute/link tuple. 22 22 ''' 23 bad_attr = re.compile('[^a-zA-Z0-9 _]+')23 bad_attr = re.compile('[^a-zA-Z0-9:_]+') 24 24 def __init__(self, p, a, l=None): 25 25 self.principal = p … … 42 42 an intersection/conjunction. 43 43 ''' 44 bad_attr = re.compile('[^a-zA-Z0-9 _]+')44 bad_attr = re.compile('[^a-zA-Z0-9:_]+') 45 45 def __init__(self, p, a, req): 46 46 self.principal = p … … 217 217 f.close() 218 218 raise parse_error('Error on line %d of %s: %s' % \ 219 (i, fn, e .message))219 (i, fn, e)) 220 220 f.close() 221 221 … … 330 330 fedid_str = 'fedid:([0-9a-fA-F]{40})' 331 331 id_str = '[a-zA-Z][\w_-]*' 332 proj_str = '[a-zA-Z][\w_ /-]*'332 proj_str = '[a-zA-Z][\w_:/-]*' 333 333 path_str = '[a-zA-Z0-9_/\.-]+' 334 334 id_any_str = '(%s|<any>)' % id_str
Note: See TracChangeset
for help on using the changeset viewer.