Changeset c65b7e4 for fedd/federation/skeleton_access.py
- Timestamp:
- Dec 10, 2010 6:25:50 PM (13 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- 9973d57
- Parents:
- b16cfc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/skeleton_access.py
rb16cfc0 rc65b7e4 194 194 self.state[aid]['user'] = found 195 195 self.state[aid]['owners'] = owners 196 self.state[aid]['auth'] = set() 197 # Authorize the creating fedid and the principal representing the 198 # allocation to manipulate it. 199 self.append_allocation_authorization(aid, 200 ((fid, allocID), (allocID, allocID))) 196 201 self.write_state() 197 202 self.state_lock.release() 198 # Authorize the creating fedid and the principal representing the199 # allocation to manipulate it.200 self.auth.set_attribute(fid, allocID)201 self.auth.set_attribute(allocID, allocID)202 self.auth.save()203 203 204 204 # Create a directory to stash the certificate in, ans stash it. … … 249 249 if aid in self.state: 250 250 self.log.debug("[ReleaseAccess] Found allocation for %s" %aid) 251 self.clear_allocation_authorization(aid) 251 252 del self.state[aid] 252 253 self.write_state()
Note: See TracChangeset
for help on using the changeset viewer.