{"shas":[["388b9e9eba98193efac2db409ee999b8403df77b","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","Fixed TODO: descriptive string representation for ParamRole","Luca Ferroni"],["671d916acba98d9e29dfc56f9c95af8f9e817127","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","Managers, exceptions, and validation tuning for ParamRole\n\n* auth/managers.py  : here goes special methods to filter roles\n* auth/exceptions.py: define exceptions\n* auth/utils.py     : raise appropriate exceptions when error occurs\n* auth/__init__.py  : uppercase constants","Luca Ferroni"],["3422210d5312888a1dd5e5d6992d244a4f6398b5","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","IMPORTANT: removed roles from GASMember\n\n* gas/models/base.py: roles MUST BE a property because it\n  has to be retrieved from PrincipalParamRoleRelation which is bound\n  to the User bound to the GASMember !\n\nThis commit includes spurious code and won't work without the following commit","Luca Ferroni"],["41122c5106cc359824b8c88ff883bab84a639fd1","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","Roles managers improvements\n\n* auth/managers.py: RolesManager change method names because it has to be generic\n* auth/models.py  : ParamRole has a classmethod to retreve a specific role\n* gas/managers.py : GASMembersManager for retrieval of GASMember by roles","Luca Ferroni"],["5e9116933b35e7eb5b960db8f32ce15501a68d8f","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","Validate that a GASMember MUST BE bound to a Person bound to a User.\n\n* gas/models/base.py: clean() method for GASMember model\n* admin/models.py : some fix of previous roles field removal","Luca Ferroni"],["3fc2e910cfa8c94c27674189b9813c8ecefd0146","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","GASSupplierSolidalPact improvements and GAS model update\n\n* Removed save() method that performed unsensed checks\n* Removed unsensed GAS creation tests in docstrings\n* Added __unicode__ representation for this model: why no-one ever did this?!?\n* GAS model: in save() id_in_des is computed automagically if not provided\n\n* [IMPORTANT] GAS model: headquarter set to null=True and blank=True.\n  This is not because GAS headquarter is not important, but because\n  we do not want to force the user to set it at creation-time.\n  In fact, who cares if a GAS is created without specifying an HQ ?\n  Will be application duty to REMIND the GAS_REFERRER_TECH, and GAS_REFERRER\n  to set the GAS headquarter. Otherwise some functions will not be available\n  (i.e. use headquarter as default delivery place)","Luca Ferroni"],["0663dd1b0865df5065d8e70d4457a55d32b9b833","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","TODO placeholder for validation checks","Luca Ferroni"],["3c7fe654aa1da0b01c7f1180bb8b529cf6cea6d9","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","Fix representation of ParamRole","Luca Ferroni"],["27984b201d7c83c060529c83611f54fef0cf29b6","a05bd890c4868ea1807f8564055d1fba77c6ba81@befair.it","GASMember id_in_gas can be NULL and blank. Person has no inline GASMember","Luca Ferroni"]],"ref":"refs/heads/fero-dev","size":9,"head":"27984b201d7c83c060529c83611f54fef0cf29b6","push_id":33520469}