mirror of
https://github.com/altlinux/admc.git
synced 2025-01-05 01:18:06 +03:00
Not allowed group policy link item creation fix
GUI group policy link that not allowed to create doesnt appear anymore
This commit is contained in:
parent
9154796ccf
commit
6c968b1914
@ -403,10 +403,13 @@ void PolicyOUImpl::link_gpo_to_ou(const QModelIndex &ou_index, const QString &ou
|
||||
|
||||
const QString new_gplink_string = new_gplink.to_string();
|
||||
|
||||
ad.attribute_replace_string(ou_dn, ATTRIBUTE_GPLINK, new_gplink_string);
|
||||
bool success = ad.attribute_replace_string(ou_dn, ATTRIBUTE_GPLINK, new_gplink_string);
|
||||
|
||||
g_status->display_ad_messages(ad, console);
|
||||
|
||||
if (!success)
|
||||
return;
|
||||
|
||||
const QList<QString> added_gpo_list = [&]() {
|
||||
QList<QString> out;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user