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

28 Commits

Author SHA1 Message Date
Semyon Knyazev
579cda7579 Update license years 2025-03-04 03:28:04 +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
Ivan A. Melnikov
e359cdfa1f chore: Apply the reset fixes generated by clang-format 2023-02-15 00:57:55 +04:00
Ivan A. Melnikov
65e7fc9905 chore: Sort includes
Our clang-format configuration requries that.
2023-02-14 16:06:23 +04:00
Dmitry Degtyarev
00f7c13d51 update license year to 2022 2022-04-06 15:59:32 +04:00
Dmitry Degtyarev
eb88d4017e make base add/remove f-ns private to ad_security
not needed anywhere outside
rename "complete" versions of add/remove to just "add/remove"
what was before add_right and remove_right is now add_right_base
\ and remove_right_base
improve test names
switch to use "complete" versions of add/remove in all ad security tests
2021-12-30 12:28:26 +04:00
Dmitry Degtyarev
0d613996cf fix ad interface tests
remove unused security_tab tests, ad_security tests cover everything
2021-12-15 18:13:02 +04:00
Dmitry Degtyarev
2279d33cff fix ad interface test to use new ad_security 2021-12-14 19:24:35 +04:00
Dmitry Degtyarev
595dd432ce rename domain_head to domain_dn
adconfig f-n and variables
2021-11-11 13:54:36 +04:00
Dmitry Degtyarev
054c0ce46e get rid of init()'s
use global adconfig everywhere, not a problem anymore with two step
\ init of the app
create set_classes() and set_default_base() f-ns to replace init()
2021-11-08 17:17:28 +04:00
Dmitry Degtyarev
d486af4c8e improve tests
use QCOMPARE() instead of QVERIFY() where possible for better messages
remove != nullptr from QVERIFY() calls to reduce visual clutter
2021-10-01 14:23:56 +04:00
Dmitry Degtyarev
ad23494973 fix test compilation 2021-08-31 15:59:13 +04:00
Dmitry Degtyarev
d63a6be2e3 rename gpo f-ns 2021-08-20 17:54:53 +04:00
Dmitry Degtyarev
6c00ff9211 test check_gpo_perms() 2021-08-19 13:58:26 +04:00
Dmitry Degtyarev
61a8185a78 test for correct perms after gpo creation
delete gpo in cleanup()
2021-08-19 12:21:04 +04:00
Dmitry Degtyarev
6a24956319 unlink policies after deletion
move gplink.cpp to adldap
add test for this
closes #273
2021-08-16 16:54:25 +04:00
Dmitry Degtyarev
3dbbe0f297 add test for create_gpo() and delete_gpo() 2021-08-05 16:11:17 +04:00
Dmitry Degtyarev
ebbc8fe396 remove unused vars 2021-07-08 15:53:24 +04:00
Dmitry Degtyarev
c4ceea6236 run clang-format 2021-06-10 16:34:06 +04:00
Dmitry Degtyarev
5c0dc5bbf0 implement "Can't change password" option
add adconfig arg to get_account_option() (bad, but need this)
enable this new option in account tab and create user dialog
add sid_string_to_bytes()
2021-06-09 12:45:07 +04:00
Dmitry Degtyarev
625d388a5b update copyright author lines 2021-06-07 11:51:19 +04:00
Dmitry Degtyarev
bee2a3c8af speed up tests build
build admc as lib and link all tests to that lib
2021-04-22 12:55:23 +04:00
Dmitry Degtyarev
ba674485cd add "object" qualifier to some classes 2021-04-21 13:16:39 +04:00
Dmitry Degtyarev
a366442362 add "console_" prefix to console_type code 2021-04-20 18:09:25 +04:00
Dmitry Degtyarev
8d3574b1bd rename ObjectActions 2021-04-16 16:44:00 +04:00
Dmitry Degtyarev
bbeb66bbb8 move some files to console_types folder 2021-04-15 17:35:43 +04:00
Dmitry Degtyarev
95d5889314 create ad_interface tests
move some tests out of object menu to ad interface tests
2021-04-09 16:33:49 +04:00