1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-21 14:50:14 +03:00

3821 Commits

Author SHA1 Message Date
Semyon Knyazev
654bcea2fc Rename icon manager's folder to 'managers' 2025-03-04 03:28:04 +04:00
Semyon Knyazev
670498405a Comment GPT/GPT security descriptor debug out 2025-03-04 03:28:04 +04:00
Semyon Knyazev
892ffd260c Change PolicyResultsWidget update method
PolicyResults widget is updated with policy tree scope index
instead of policy dn. Update changed for policy item selection
and policy state changing.
2025-03-04 03:28:04 +04:00
Semyon Knyazev
ef70b3c3f5 Move SearchThread class members intialization from ctor body to init list 2025-03-04 03:28:04 +04:00
Semyon Knyazev
4ee95eca49 Reduce gpo tree gui interaction time
GPO permission syncronization is removed for fetched policy
tree items
2025-03-04 03:28:04 +04:00
Semyon Knyazev
4abb297d6c Add TODO to gpo permissions sync f-n 2025-03-04 03:28:04 +04:00
Semyon Knyazev
8c18aeb539 Fix potential memleaks due to LDAP control creation 2025-03-04 03:28:04 +04:00
Semyon Knyazev
cfc15ef94f Implement smb context wrapper to fix potential memleaks 2025-03-04 03:28:04 +04:00
Semyon Knyazev
5c16cccac8 Add smb context wrapper 2025-03-04 03:28:04 +04:00
Semyon Knyazev
26576774e9 Add license and change generation comment in samba source 2025-03-04 03:28:04 +04:00
Semyon Knyazev
0fa2262ca5 Changelog fixes
bugfix #45839
2025-03-04 03:28:04 +04:00
Semyon Knyazev
8b8efd8c51 Fix create object dialog test's name autofill 2025-03-04 03:28:04 +04:00
Semyon Knyazev
a4b310d053 Add translations for middle name 2025-03-04 03:28:04 +04:00
Semyon Knyazev
9a5e70fa84 Add middle name to contact and user creation dialogs
Middle name will be shown and will be included in DN if "Show middle
name when creating" option is set and vise versa.
2025-03-04 03:28:04 +04:00
Semyon Knyazev
3131555363 Update full name autofill setup f-n 2025-03-04 03:28:04 +04:00
Semyon Knyazev
ec7ce4b801 Add middle name edit to general user tab 2025-03-04 03:28:04 +04:00
Semyon Knyazev
5bd6e9a6b0 Define middleName attribute 2025-03-04 03:28:04 +04:00
Semyon Knyazev
252a68de21 Add middle name showing setting-action to main window 2025-03-04 03:28:04 +04:00
Semyon Knyazev
091b21fb5b Add middle name show setting (when creating) 2025-03-04 03:28:04 +04:00
Semyon Knyazev
9fe3650b6f Add translation for attributes tab copy action 2025-03-04 03:28:04 +04:00
Semyon Knyazev
c809fd3f93 AttributesTabEdit small fixes 2025-03-04 03:28:04 +04:00
DimDone
4e86cb6f4d Added copy action to list of attributes 2025-03-04 03:28:04 +04:00
DimDone
3ef907bf1e Fixed the displaying optional attributes after reset action
Now optional attributes stay visible after reset action
2025-03-04 03:28:04 +04:00
Semyon Knyazev
f77a6e481f Fix empty flags prompt for hex attributes 2025-03-04 03:28:04 +04:00
Semyon Knyazev
f580423e0e Remove excessive QTextStream include 2025-03-04 03:28:04 +04:00
DimDone
536c5cf2de Fixed the displaying of optional attributes
Fixed the displaying of optional attributes msDS-User-Account-Control-Computed and msDS-User-Password-Expyre-Time-Computed
2025-03-04 03:28:03 +04:00
Semyon Knyazev
256be83f2b Remove deprecated smbc_init() from smb context initialization
Empty authentication data f-n SMBC_get_auth_data() is set to context
in smbc_new_context(). Then this context is set, so there is no need
in smbc_init() anymore.
2025-03-04 03:28:03 +04:00
Yurt Page
6926a5297a README.md split long line 2025-02-10 20:06:31 +04:00
Gleb Popov
1581e69ad9 Use more intelligent way of finding samba version.h 2024-12-12 01:11:12 +04:00
Gleb Popov
1f4df0b8da Define UUID_STR_LEN when building against ancient libuuid 2024-12-12 00:52:39 +04:00
Gleb Popov
861c979329 Fix build against old Samba by including necessary system headers 2024-12-12 00:51:15 +04:00
Gleb Popov
c062220e1d Only link to libresolv if it is found 2024-12-12 00:49:18 +04:00
Gleb Popov
0e9699d849 Pull in ndr_sec_helper.c from old Samba to fix linking 2024-12-11 23:38:56 +04:00
Gleb Popov
684a608e84 Add an implementation of rep_memset_s() from Samba 2024-12-10 23:24:03 +04:00
Gleb Popov
f55182497e Add sid_copy() implementation to the old Samba sources 2024-12-10 23:07:27 +04:00
Gleb Popov
267a0f5e60 Add override keywords to please the compiler 2024-12-10 22:46:41 +04:00
Gleb Popov
1dd2ad3469 Reduce copying by taking a QString by reference 2024-12-10 22:26:33 +04:00
Gleb Popov
68d67cfe2e Remove unused captures from lambdas 2024-12-10 22:25:40 +04:00
Gleb Popov
67ebac2c9e Fix usage of unitialized variables 2024-12-10 22:17:29 +04:00
Gleb Popov
ece1ba8644 Remove unused variable 2024-12-10 22:14:40 +04:00
Gleb Popov
d9c0c0eeb4 Move the default argument's value into a header
Fixes Clang error

src/admc/permission_control_widgets/read_write_permissions_widget.cpp:46:65: error: addition of default argument on redeclaration makes this constructor a default constructor
   46 | ReadWritePermissionsWidget::ReadWritePermissionsWidget(QWidget *parent = nullptr) : PermissionsWidget(parent) {
      |                                                                 ^        ~~~~~~~
/home/arr/projects/admc/src/admc/permission_control_widgets/read_write_permissions_widget.h:11:14: note: previous declaration is here
   11 |     explicit ReadWritePermissionsWidget(QWidget *parent);
      |              ^
2024-12-10 22:09:12 +04:00
Semyon Knyazev
f410c1aee6 0.18.0-alt1
- Add custom permissions to security tab: create/delete child objects
  and read/write properties.
- Add delegation tasks to security tab. Delegation tasks represent
  common tasks from RSAT's delegation dialog.
- Extended rights are placed in a separate permissions tab.
- Generic and standard permissions are placed in the common permissions
  tab. Common permissions are supplemented by following: list contents,
  read/write all properties, delete, delete subtree, read permissions,
  modify permissions, modify owner, all validated writes and all extended
  rights.
- Add permissions scope selection to the security tab. Corresponding
  permissions can be applied to the target object, target and child objects,
  only to the child objects or to the child object with specific class.
  Delegation tasks are appliable only to target object.
- Changed permissions unsetting behavior: superior permission unsetting
  unsets all subordinate permissions too. For example, "Full control"
  unsetting unsets all other permissions.
- Fixed test fails, which were caused by arbitrary invalid domain controller
  selection.
- Add "Set/unset all" and "Edit" actions to the links tab in the policy OU
  widget. "Set/unset all" actions set/unset state (enforced/disabled, depending
  on column) for all linked policies. "Edit" action opens GPUI for policy editing.
  These actions can be triggered via context menu.
0.18.0-alt1
2024-12-05 20:12:24 +04:00
Semyon Knyazev
b5da8c04a7 Add policy edit action to policy OU results widget 2024-12-05 20:12:24 +04:00
Semyon Knyazev
93db14698c Add translations 2024-12-05 20:12:24 +04:00
Semyon Knyazev
9f7f342856 Add "set/unset all" actions to links tab in the OU results widget
These actions are available for "Enforced" and "Disable" columns
and set/unset corresponding state for all policies. Actions are
triggered via context menu.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
dafb5dfd27 Fix tests fail occured due to arbitrary dc connection attempt 2024-12-05 20:12:24 +04:00
Semyon Knyazev
fd7436d172 Fix and refactor ad_security tests 2024-12-05 20:12:24 +04:00
Semyon Knyazev
db186d56c3 Update and refactor right removal f-n
Fix comment and change permission removal behavior. Now subordinate
permissions won't set after superior permission unset.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
23fdeee41c Refactor right state getter and update ACE matching
Add ACE matching flags, that allows to configure ACE matching.
Depending on which flags are set, ACEs will match inherited ACEs
or ACEs with certain object type. Inheritance matching is necessary
for inherited permissions display, object matching provides correct
ACE search.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
2a58f28ead Add translations 2024-12-05 20:12:24 +04:00