diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 21a133a..c77d348 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.8, 3.9, 3.10] + python-version: [3.8, 3.9, 3.10] db: [postgres, mysql] include: - db: postgres diff --git a/README.md b/README.md index 1886080..8524dcf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # PermaGate +----- +[![Django CI](https://github.com/davnov015/django-permagate/actions/workflows/django.yml/badge.svg)](https://github.com/davnov015/django-permagate/actions/workflows/django.yml) + PermaGate is a Django permissions system which offers hierarchical permissions that can be directly to users and groups. @@ -97,10 +100,10 @@ test_user_two = User.objects.create(username="test2") test_group.user_set.add(test_user_two) if has_permission(test_user, "test.sub1"): - print(f"User {test_user.username} has permission test.sub1 due to directly assignment") + print(f"User {test_user.username} has permission test.sub1 due to direct assignment") if has_permission(test_user_two, "test.sub1"): - print(f"fUser {test_user_two.username} has permission test.sub1 via group assignment") + print(f"User {test_user_two.username} inherits permission test.sub1 via group assignment") ``` Note that the permission strings assigned to users may include the inclusive wildcard