mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipalib: introduce Principal parameter
This patch introduces a separate Principal parameter that allows the framework to syntactically validate incoming/outcoming principals by using a single shared codebase. https://fedorahosted.org/freeipa/ticket/3864 Reviewed-By: David Kupka <dkupka@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
e6fc8f84d3
commit
974eb7b5ef
@@ -186,6 +186,9 @@ ipa_class_members = {
|
||||
'only_absolute',
|
||||
'only_relative',
|
||||
],
|
||||
'ipalib.parameters.Principal': [
|
||||
'require_service',
|
||||
],
|
||||
'ipalib.plugable.API': [
|
||||
fake_api_env,
|
||||
] + NAMESPACE_ATTRS + LOGGING_ATTRS,
|
||||
|
||||
Reference in New Issue
Block a user