mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
* move imports * core: add digraph group hierarchy * move to permissions from Group or User to Role * set group parents on frontend * do not serialize `GroupParentageNode` directly * core: enforce unique group name on database level Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use group parents in LDAP provider * add user-role relationship control to frontend * move materialized view to be more discoverable * add guardian to mypy exceptions * make `Role` a `ManagedModel` * fixup! make `Role` a `ManagedModel` * simplify `get_objects_for_user` * fix flaky unit test * rename `django-guardian` fork to `ak-guardian` * add tests around users/groups/roles * remove unused guardian config variable * simplify guardian file structure * clean up frontend * initial docs * remove `mode` from `InitialPermissions` This is no longer needed, since users no longer directly have permissions. * fixup! Merge branch 'main' into core/add-digraph-group-hierarchy * clean up docs for managing permissions * addendums from docs review * fixup! Merge branch 'main' into core/add-digraph-group-hierarchy * tweaks * dewi and tana edits to docs * tweak * truly final tweaks, for now * relabel Role Permissions table * clarify button label * fixup! Merge branch 'main' into core/add-digraph-group-hierarchy * fixup! Merge branch 'main' into core/add-digraph-group-hierarchy * merge migrations * fixup! Merge branch 'main' into core/add-digraph-group-hierarchy --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Tana M Berry <tana@goauthentik.io>
61 lines
1.8 KiB
TOML
61 lines
1.8 KiB
TOML
[project]
|
|
name = "ak-guardian"
|
|
version = "3.2.0"
|
|
description = "Model and object permissions for Django"
|
|
requires-python = ">=3.9,<3.14"
|
|
readme = "README.md"
|
|
license = { text = "BSD-2-Clause" }
|
|
authors = [{ name = "Authentik Security Inc.", email = "hello@goauthentik.io" }]
|
|
keywords = ["django", "permissions", "authorization", "object", "row", "level"]
|
|
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
'Environment :: Web Environment',
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"License :: OSI Approved :: BSD License",
|
|
'Framework :: Django',
|
|
'Framework :: Django :: 3.2',
|
|
'Framework :: Django :: 4.1',
|
|
'Framework :: Django :: 4.2',
|
|
'Framework :: Django :: 5.0',
|
|
'Framework :: Django :: 5.1',
|
|
'Framework :: Django :: 5.2',
|
|
'Programming Language :: Python',
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Operating System :: OS Independent",
|
|
'Topic :: Security',
|
|
]
|
|
|
|
dependencies = [
|
|
"django>=5.2,<6.0",
|
|
"typing_extensions>=4.12.0; python_version<'3.13'",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/goauthentik/authentik/tree/main/packages/ak-guardian"
|
|
Documentation = "https://github.com/goauthentik/authentik/tree/main/packages/ak-guardian"
|
|
Repository = "https://github.com/goauthentik/authentik/tree/main/packages/ak-guardian"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = [
|
|
"guardian",
|
|
"guardian.conf",
|
|
"guardian.management",
|
|
"guardian.management.commands",
|
|
"guardian.migrations",
|
|
]
|
|
|
|
|
|
[tool.setuptools.packages]
|
|
find = {}
|