To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 48976b7f authored by Lincoln Smith's avatar Lincoln Smith
Browse files

Version bump due to changes to get_unpermitted_fields().

parent c59647c9
......@@ -3,7 +3,7 @@ Implements permissions for model fields in Django
Requirements
============
* Python 3.4+
* Django 1.10+
* Django 1.11+
Installation
============
......@@ -73,13 +73,14 @@ Admin interface
---------------
Two ModelAdmins ``PFPModelAdmin`` and ``PFPInlineAdmin`` are provided that
extend the appropriate ModelAdmin, disabling fields in forms as appropriate.
These can be used as us or as Mixins to extend other ModelAdmin classes.
These can be used as is or as Mixins to extend other ModelAdmin classes.
There is a permissions management view accessible under
*/admin/perfieldperms/perfieldpermission/manage/*. It provides an alternative
interface to allocating permissions based on a set of filters for
permissions/roles (where a role is a user or group,) and generates a table
based form listing permissions against users.
based form listing permissions against users. It is terrible and needs
replacing :)
Tests
=====
......
......@@ -10,7 +10,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
setup(
name='django-perfieldperms',
version='0.1.3',
version='0.1.4',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
license='Apache-2.0',
......@@ -23,7 +23,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Environment :: Web Environment',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment