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

3809 Commits

Author SHA1 Message Date
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
Semyon Knyazev
fa5774bbc7 Add "Clear all" button to security tab
Button allows to clear all permission selection
(except inherited permissions).
2024-12-05 20:12:24 +04:00
Semyon Knyazev
2a144009eb Add permissions scope selection to security tab
Permissions scope can be selected via "Applied to" combo
box selection. Depending on selection, permissions will be
displayed and can be assigned to the target object with child
objects, only to the target object or to the children with
specific class.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
334301b35d Supplemented common right list 2024-12-05 20:12:24 +04:00
Semyon Knyazev
d9cec0d3f5 Add comments to common task manager 2024-12-05 20:12:24 +04:00
Semyon Knyazev
0988c5c756 Changed trustee list's vertical size policy
Vertical size policy is changed from expanding to preffered
for trustee list in the security tab.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
bd03fa4df4 Add domain computer join right for delegation 2024-12-05 20:12:24 +04:00
Semyon Knyazev
d169c5e3b9 Add children class creation rights getter 2024-12-05 20:12:24 +04:00
Semyon Knyazev
f13a02bf04 Add translations 2024-12-05 20:12:24 +04:00
Semyon Knyazev
7db9cbc322 Add permission widgets to security tab
Implementation of permissions moved from SecurityTab class to
permission widget classes.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
3689b1462b Add header state settings for permission widgets 2024-12-05 20:12:24 +04:00
Semyon Knyazev
0149737c22 Create delegation permissions widget
Delegation widget contains common delegated tasks (like common tasks in
the RSAT delegation master). These tasks can be assigned only to target
parent container.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
784be8174d Create extended permissions widget
Extended rights moved from security tab widget
sources to ExtendedRightsWidget.
2024-12-05 20:12:24 +04:00