1
0
mirror of https://github.com/altlinux/admc.git synced 2024-10-26 08:55:21 +03:00

add todo about policy

This commit is contained in:
Dmitry Degtyarev 2022-03-31 15:55:10 +04:00 committed by Dmitry Degtyarev
parent 1a6979ae50
commit 7aeaa25295

View File

@ -303,6 +303,8 @@ void PolicyImpl::on_add_link() {
void PolicyImpl::on_edit() {
const QString dn = get_action_target_dn(console, ItemType_Policy, PolicyRole_DN);
// TODO: remove this when gpui is able to load
// policy name on their own
const QString policy_name = [&]() {
AdInterface ad;
if (ad_failed(ad, console)) {