1
0
mirror of https://github.com/altlinux/admc.git synced 2025-01-05 01:18:06 +03:00
Commit Graph

3759 Commits

Author SHA1 Message Date
Semyon Knyazev
b65a62db89 Create common permissions widget
Common permission functionality is removed from security tab sources
and placed in the CommonRightsWidget class.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
1f8e302a4c Create read/write permissions widget
Widget contains read and write permissions for
attributes (properties) of the selected class.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
341769e4eb Create creation/deletion permissions widget
Widget contains creation and deletion permissions
for selected object classes.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
c46f8fedb2 Create base class for permission widgets
Permission widgets will be placed in the properties security tab
under permissions tab widget in the corresponing tabs.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
a1a4f697cd Add common task manager
Manager contains common tasks, that are used to delegate
specific rights to trustees like RSAT delegation common tasks.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
a1ad2055fe Update superior and subordinate right list getters 2024-12-05 20:12:24 +04:00
Semyon Knyazev
58e67258fb Update ad_security_get_right_list_for_class() function 2024-12-05 20:12:24 +04:00
Semyon Knyazev
100fde32f9 Update and refactor right state getter 2024-12-05 20:12:24 +04:00
Semyon Knyazev
8f6de0b60b Update ACE match functions
ACE match function is splitted and refactored. Matching is
supplemented with mask, inherited type and flags.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
ee38f6102f Declare SecurityRight struct and add CommonTaskManager global 2024-12-05 20:12:24 +04:00
Semyon Knyazev
05ea44ac0e Update year and and add TODO comment 2024-12-05 20:12:24 +04:00
Semyon Knyazev
3c3bd48bfe Add security rights generation functions
These functions get security right list, that is used to make
corresponding security descriptor ACEs (e.g. child object
creation/deletion ACE).
2024-12-05 20:12:24 +04:00
Semyon Knyazev
e9ccdb843d Rename right state getter function 2024-12-05 20:12:24 +04:00
Semyon Knyazev
44e6c8c35b Add operator ==, inherited type and flags to SecurityRight class
Inherited type and flags are needed to implement inheritable ACEs.
SecurityRights instances are also supplemented by default inherited
type and flags values.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
54215824e6 ad_security refactor: unite access mask and object type args
These parameters are combined into (already existing) SecurityRight struct.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
b115d2944c ad_security refactor: add common and extended rights getters 2024-12-05 20:12:24 +04:00
Semyon Knyazev
ce837d3f3c Update SecurityTab ui
Removed single rights view. Added QTabWidget and corresponding tabs for
common, extended and delegation rights.
Also added "Users and Groups" label for trustee list.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
31e4e23375 Add AD object class specific getters to AdConfig class 2024-12-05 20:12:24 +04:00
Semyon Knyazev
bd6a5f15db Add GUID getters to AdConfig class 2024-12-05 20:12:24 +04:00
Semyon Knyazev
5dcb3f884f Add possible inferiors and permissionable attributes loading
Possible inferiors and permissionable attributes are loaded for
domainDNS class object. These values are stored in global AdConfig
object.
2024-12-05 20:12:24 +04:00
Semyon Knyazev
17e6b3ac8f Add bytearray_list_to_string_list utility f-n to ad_utils 2024-12-05 20:12:24 +04:00
Semyon Knyazev
e362cbfb39 Refactor AdConfig class ctor: moved loads to corresponding functions 2024-12-05 20:12:24 +04:00
Semyon Knyazev
12612b1fcc 0.17.2-alt1
- Fixed lost site and DC info in domain info widget (child domain).
  (closes:52329)
2024-12-05 19:09:38 +04:00
Semyon Knyazev
a26c34a715 Fixed lost site and DC info in domain info widget
Fixed bug for child domain case, bugfix #52329
2024-12-05 19:09:38 +04:00
Semyon Knyazev
07a3240b96 0.17.1-alt1
- Fix crashing on child domains after context menu request.
2024-11-15 19:58:28 +04:00
Semyon Knyazev
d7844226c7 Fix crashing after domain object context menu request (child domain case) 2024-11-15 19:58:28 +04:00
Semyon Knyazev
5d0939581b Sisyphus build fix (samba 4.20.5) 2024-11-15 19:56:49 +04:00
Semyon Knyazev
2a64d61c37 0.17.0-alt1
- Add password settings object's creation/deletion/edition. Password
  Settings Container contains these objects and located in the System
  container (objects tree).
- Fix empty parentheses display in the domain info widget for undefined domain
  controller's version.
- Add the ability to view which groups a group is a member of.
2024-08-21 01:36:41 +04:00
Semyon Knyazev
e35bfad114 Include PSO container objects to object tree containers 2024-08-21 01:23:41 +04:00
Semyon Knyazev
d1cf4f0b51 Add PSO feature translations 2024-08-20 22:04:37 +04:00
Semyon Knyazev
4f7c734011 Fix results widget updating for objects 2024-08-20 22:04:37 +04:00
Semyon Knyazev
3bb6f5d2d0 Add PSO widgets to ObjectImpl 2024-08-20 22:04:37 +04:00
Semyon Knyazev
403468a4d8 Complete PSOResultsWidget 2024-08-20 22:04:37 +04:00
Semyon Knyazev
3234617abe Complete CreatePSODialog 2024-08-20 22:04:37 +04:00
Semyon Knyazev
4f464b3e24 Add PSO and its container object classes 2024-08-20 22:04:37 +04:00
Semyon Knyazev
b5f3a834b2 Complete PSOEditWidget
Did UI edits loading, applied user/groups list widget loading,
edit byte values getter and etc.
2024-08-20 22:04:32 +04:00
Semyon Knyazev
190ccbdf20 Add advanced selected objects getter to SelectObjectDialog 2024-08-20 04:20:41 +04:00
Semyon Knyazev
650b144697 Remove redundant qDebug() 2024-08-20 04:20:41 +04:00
Semyon Knyazev
65c8ecac45 Small fix CreateObjectHelper
Do logging after failed name and attributes verifying
2024-08-20 04:20:41 +04:00
Semyon Knyazev
24ff43c750 Add PSO results widget and its UI 2024-08-20 04:20:41 +04:00
Semyon Knyazev
6bf19962d0 Add PSO creation dialog and edit widget
Create these widget's UI
2024-08-20 04:20:41 +04:00
Semyon Knyazev
bfc8703321 Add PSO object/container category and corresponing icons 2024-08-20 04:20:41 +04:00
Semyon Knyazev
5da5ac0448 Fix PSO object timespan attributes display 2024-08-20 04:20:41 +04:00
Semyon Knyazev
a7560f6899 Add PSO object's attributes 2024-08-20 04:20:41 +04:00
21e8705cbf Added the ability to view which groups a group is a member of 2024-08-20 04:18:12 +04:00
Semyon Knyazev
2f19d330c7 Removed memory leaks from OU's inheritance widget 2024-08-20 03:54:51 +04:00
Semyon Knyazev
fbdb9bd19b Fix undefined dc version label value 2024-08-20 03:53:43 +04:00
Semyon Knyazev
1df3312081 0.16.4-alt1
- Samba 4.20 compatibility update. Fixed related errors with security
  descriptor manipulations. (closes: 50776)
- Fixed user creation incapability after Samba dependencies
  update. (closes: 50096)
2024-07-30 18:13:29 +04:00
Semyon Knyazev
7c89f13801 Fix missing libsasl2.so by PkgConfig and set min_ssf SASL property
Added direct searching with hints for missing libsasl2.so.
This bandaid can be removed after libsasl2 corresponding
PkgConfig fixes.
SASL propertry min_ssf had been also set instead of max_ssf.
This provides minimum acceptable security layer strength and solves
trouble with unencrypted connection.
2024-07-30 17:36:52 +04:00
Semyon Knyazev
7dbc9942ff Refactor adldap lib CMakeLists and add libsmb_xattr.c updating 2024-07-11 22:05:00 +04:00