Zango
Zango copied to clipboard
Add support for model permissions
Enhance the permission framework by introducing support for model permissions. This update allows for both explicit 'model' type entries and permissive entries that only include the model name, ensuring backward compatibility with existing policies. The has_perm method now checks for model permissions, and the get_model_perms method has been updated accordingly.
Fixes #185