Added managedby_user tab to manage users who can manage the token.
https://fedorahosted.org/freeipa/ticket/5003
Nathaniel, I could not reproduce the following part of the ticket:
"""
Careful interaction is required here. In the current code, this also
creates a bug since all UI created tokens are owned but not managed.
When users of these tokens are deleted, their self-created tokens are
orphaned rather than deleted.
Self-created tokens MUST be both self-owned AND self-managed.
"""
The self-created tokens which I created in Web UI as admin or normal
user were in both cases managed by the same user who created them.
--
Petr Vobornik
From fda590b00652563342db29828dc71bfa6163f433 Mon Sep 17 00:00:00 2001
From: Petr Vobornik <pvobo...@redhat.com>
Date: Wed, 1 Jul 2015 18:50:47 +0200
Subject: [PATCH] webui: add mangedby tab to otptoken
Added managedby_user tab to manage users who can manage the token.
https://fedorahosted.org/freeipa/ticket/5003
---
install/ui/src/freeipa/otptoken.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/install/ui/src/freeipa/otptoken.js b/install/ui/src/freeipa/otptoken.js
index 9ba6821a59e2818b60731d1ac91c6ee298b6b713..caa7a85523d6e63db629a3a518e8611d511f7952 100644
--- a/install/ui/src/freeipa/otptoken.js
+++ b/install/ui/src/freeipa/otptoken.js
@@ -221,6 +221,12 @@ return {
]
}
]
+ },
+ {
+ $type: 'association',
+ name: 'managedby_user',
+ add_method: 'add_managedby',
+ remove_method: 'remove_managedby'
}
],
--
2.4.3
--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code