Open seldon opened 13 years ago
The method ParamRoleBackend.has_perm() retrieves permission-checker methods (can_*) from domain models and stores them under the local variable perm_check.
ParamRoleBackend.has_perm()
can_*
perm_check
Add a check to make sure that perm_check actually holds bound methods.
A useful link.
The method
ParamRoleBackend.has_perm()
retrieves permission-checker methods (can_*
) from domain models and stores them under the local variableperm_check
.Add a check to make sure that
perm_check
actually holds bound methods.