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

14 Commits

Author SHA1 Message Date
Semyon Knyazev
579cda7579 Update license years 2025-03-04 03:28:04 +04:00
Semyon Knyazev
fd7436d172 Fix and refactor ad_security tests 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
Ivan A. Melnikov
65e7fc9905 chore: Sort includes
Our clang-format configuration requries that.
2023-02-14 16:06:23 +04:00
Ivan A. Melnikov
d2b39ca38f chore: Remove trailing whitespace from sources
Our clang-format config prohibits them.
2023-02-14 16:05:52 +04:00
Dmitry Degtyarev
00f7c13d51 update license year to 2022 2022-04-06 15:59:32 +04:00
Dmitry Degtyarev
67c265e75b fix adsecurity test
initialize sd to NULL at correct time (earliest)
don't check for NULL before free
set sd to NULL after cleanup
2022-01-19 11:25:47 +04:00
Dmitry Degtyarev
93e0654e35 add test cases for "all extended rights"
to remove_to_set_subordinates_data() test
2022-01-17 09:51:24 +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
bd12b16fce add test case for ad security 2021-12-28 17:16:50 +04:00
Dmitry Degtyarev
36843965af add tests for "extra" versions of add/remove right
for security_descriptor_add_right_complete()
\ and security_descriptor_remove_right_complete()
2021-12-15 17:51:17 +04:00
Dmitry Degtyarev
66f8ff7bf2 add ad_security tests 2021-12-14 19:24:24 +04:00