windows-service-rs
windows-service-rs copied to clipboard
Add missing standard access rights for `ServiceAccess`
I don't know if we should provide all combination flags like GENERIC_READ
listed in https://learn.microsoft.com/en-us/windows/win32/services/service-security-and-access-rights#access-rights-for-a-service, but at least we need to have READ_CONTROL
, WRITE_DAC
, WRITE_OWNER
for modifying security descriptors, this is often used in updater services for preventing UAC prompts