diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-08-22 16:11:58 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-09-30 10:42:06 +0200 |
commit | d03b09beb4855f6ceea505221bf39a0f1369fa73 (patch) | |
tree | 7e67c11b9b0c813d2016dd4086461e44eaa9ac32 /ipalib/constants.py | |
parent | 6a798f144f88996046bce9bf19e771bb5a477bc6 (diff) | |
download | freeipa-d03b09beb4855f6ceea505221bf39a0f1369fa73.tar.gz freeipa-d03b09beb4855f6ceea505221bf39a0f1369fa73.tar.xz freeipa-d03b09beb4855f6ceea505221bf39a0f1369fa73.zip |
idviews: Support specifying object names instead of raw anchors only
Improve usability of the ID overrides by allowing user to specify the common name of
the object he wishes to override. This is subsequently converted to the ipaOverrideAnchor,
which serves as a stable reference for the object.
Part of: https://fedorahosted.org/freeipa/ticket/3979
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r-- | ipalib/constants.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py index b24ff0dd4..325414b64 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -214,3 +214,6 @@ DEFAULT_CONFIG = ( ) LDAP_GENERALIZED_TIME_FORMAT = "%Y%m%d%H%M%SZ" + +IPA_ANCHOR_PREFIX = ':IPA:' +SID_ANCHOR_PREFIX = ':SID:' |