superuser_plugin_unix 4.1.2
superuser_plugin_unix: ^4.1.2 copied to clipboard
Detect, verify user who execute Dart program has superuser role in UNIX (or POSIX) API
4.1.2 #
- Detecting Debian distro should be handled by FFI itself rather than compile time.
4.1.1 #
- Fix wrongfully assume
sudoas sudoers across all Linux distros rather than Debian-based only - Default sudoer group is
wheelinstead
4.1.0 #
- Fix wrong year range of license
- Add missing message when throwing
UnsupportedError
4.0.1 #
- Fix
groupsreturns mutable set that it suppose should be unmodifiable.
4.0.0 #
- Dart hook based implementationsda
3.0.0+1 #
- Fix Flutter and Dart SDK version unaligned problem.
- Fix repository link unreachable problem as the default branch renamed.
3.0.0 #
- Change Dart constraint to
^3.8.0 - Add various UNIX system of superuser groups name.
- Resolve name resolve error when fetching groups.
2.1.0 #
- Change Dart SDK constraint to
^3.6.0for applying monorepo support. - Remove unused
plugin_platform_interfacedependencies.
2.0.1 #
- Fix compare group id overflow issue.
2.0.0+1 #
- Update podspec information.
2.0.0 #
- Implement current user associated groups.
2.0.0-m.2 #
- Expand error code length to two 16-bits, which lower 16-bit denote value of
errnoand upper 16-bit uses for category.
2.0.0-m.1 #
- Change definitions of
isActivatedandisSuperuserisActivatedreuses originalisSuperusercodeisSuperuserwill also determine a user which allow usessudocommand in corresponded group.
1.0.0 #
- Add throw error if native code returns with error.
0.1.0 #
- Define interface's result
isActivatedis alias getter ofisSuperusersince root is a definition of superuser in UNIX system.