Ignore:
Timestamp:
Dec 10, 2010 6:25:50 PM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master
Children:
9973d57
Parents:
b16cfc0
Message:

Access controllers delete (some) unused ABAC attrs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/deter_internal_access.py

    rb16cfc0 rc65b7e4  
    166166        self.state[aid]['owners'] = owners
    167167        self.state[aid]['vlan'] = None
     168        self.state[aid]['auth'] = set()
     169        self.append_allocation_authorization(aid,
     170                ((fid, allocID),(allocID, allocID)))
    168171        self.write_state()
    169172        self.state_lock.release()
    170         self.auth.set_attribute(fid, allocID)
    171         self.auth.set_attribute(allocID, allocID)
    172         self.auth.save()
    173173
    174174        try:
     
    209209        if self.state.has_key(aid):
    210210            self.log.debug("Found allocation for %s" %aid)
     211            self.clear_allocation_authorization(aid)
    211212            del self.state[aid]
    212213            self.write_state()
Note: See TracChangeset for help on using the changeset viewer.