Changeset 65d3ac1 for fedd


Ignore:
Timestamp:
Aug 3, 2012 1:16:44 PM (7 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
9a256f7
Parents:
27fbf2f
Message:

Debugging and defending against bad principals in append_experiment_authorization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    reac54fa r65d3ac1  
    12041204
    12051205        for p, a in attrs:
    1206             self.auth.set_attribute(p, a)
     1206            # PNNL Debug
     1207            self.log.debug("Append auth: %s %s" % (p, a))
     1208            if p and a:
     1209                # Improperly configured overrides can add bad principals.
     1210                self.auth.set_attribute(p, a)
     1211            else:
     1212                self.log.debug("Bad append experiment_authorization %s %s" \
     1213                        % (p, a))
    12071214        self.auth.save()
    12081215
Note: See TracChangeset for help on using the changeset viewer.