TireSwingSoftware/openassign-server — Issue #56: Replace ac_check_methods.xml
Author: jc0n
Created: 2011-12-09 02:08:00+00:00
State: open
Labels: behavior

I think defining authorizer methods in ac_check_methods.xml violates DRY and is not very intuitive. Looking at the current method titles and descriptions, I am quite certain we could automatically generate the title from the method name and the description from the method docstring. We should also move all of the existing "authorizer methods" somewhere that can easily be iterated for the sake of building a list such ac_check_methods.xml. We could move them into another class (maybe even an inner class). Currently there are no authorizer methods which appear to be instance methods they could all easily be class-methods.