Changeset f3898f7 for fedd/access_to_abac.py
- Timestamp:
- Oct 5, 2011 5:11:01 PM (13 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- b6a6206
- Parents:
- 53b5c18
- git-author:
- Ted Faber <faber@…> (10/05/11 17:10:01)
- git-committer:
- Ted Faber <faber@…> (10/05/11 17:11:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/access_to_abac.py
r53b5c18 rf3898f7 82 82 ''' 83 83 right_side_str = '\s*,\s*\(\s*%s\s*,\s*%s\s*,\s*%s\s*\)' % \ 84 ( id_same_str, id_same_str,id_same_str)84 (proj_same_str, id_same_str,id_same_str) 85 85 86 86 m = re.match(right_side_str, l) … … 319 319 fedid_str = 'fedid:([0-9a-fA-F]{40})' 320 320 id_str = '[a-zA-Z][\w_-]*' 321 proj_str = '[a-zA-Z][\w_/-]*' 321 322 path_str = '[a-zA-Z_/\.-]+' 322 323 id_any_str = '(%s|<any>)' % id_str 324 proj_any_str = '(%s|<any>)' % proj_str 323 325 id_same_str = '(%s|<same>)' % id_str 326 proj_same_str = '(%s|<same>)' % proj_str 324 327 left_side_str = '\(\s*%s\s*,\s*%s\s*,\s*%s\s*\)' % \ 325 (fedid_str, id_any_str, id_any_str)328 (fedid_str, proj_any_str, id_any_str) 326 329 right_side_str = '(%s)(\s*,\s*\(.*\))?' % (id_str) 327 330 line_re = re.compile('%s\s*->\s*%s' % (left_side_str, right_side_str))
Note: See TracChangeset
for help on using the changeset viewer.