- Added
GUARDIAN_RENDER_403andGUARDIAN_RAISE_403settings (#40) - Updated docstring for
get_obj_perms(#43) - Updated codes to run with newest django-grappelli (#51)
- Fixed problem with building a RPM package (#50)
- Updated caveats docs related with oprhaned object permissions (#47)
- Updated
permission_requireddocstring (#49) - Added
accept_global_permsfor decorators (#49) - Fixed problem with MySQL and booleans (#56)
- Added flag to check for any permission in
get_objects_for_userandget_objects_for_group(#65) - Added missing tag closing at template (#63)
- Added view mixins related with authorization and authentication (#73)
- Added tox support
- Added Travis support
- Added
get_objects_for_groupshortcut (thanks to Rafael Ponieman) - Added
user_can_access_owned_objects_onlyflag toGuardedModelAdmin - Updated and fixed issues with example app (thanks to Bojan Mihelac)
- Minor typo fixed at documentation
- Included ADC theme for documentation
get_users_with_permsnow acceptswith_group_usersflag- Fixed
group_idissue at admin templates - Small fix for documentation building process
- It's 2011 (updated dates within this file)
get_users_with_permsnow acceptswith_superusersflag- Small fix for documentation building process
- A final v1.0 release!
- Added
get_objects_for_usershortcut function - Added few tests
- Fixed issues related with
django.contrib.authtests - Removed example project from source distribution
- Simplified example project
- Fixed issues related with test suite
- Added ability to clear orphaned object permissions
- Added
clean_orphan_obj_permsmanagement command - Documentation cleanup
- Added grappelli admin templates
- Added possibility to operate with global permissions for assign and
remove_permshortcut functions - Added possibility to generate PDF documentation
- Fixed some tests
- Fixed admin templates not included in
MANIFEST.in - Fixed admin integration codes
- Added admin integration
- Added reusable forms for object permissions management
- Added
guardian.shortcuts.get_users_with_permsfunction - Added
AUTHORSfile
- Fixed migrations order (thanks to Daniel Rech)
- Fixed migration (it wasn't actually updating object_pk field)
#4: guardian now supports models with not-integer primary keys and they don't need to be called "id".
Important
For 0.1.X users: it is required to migrate guardian in your projects. Add
southtoINSTALLED_APPSand run:python manage.py syncdb python manage.py migrate guardian 0001 --fake python manage.py migrate guardian
- Added South migrations support
- Added view decorators:
permission_requiredandpermission_required_403
- Initial public release