Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: add view to debug MDM settings and add the syspolicy handlers #199

Merged
merged 2 commits into from Mar 13, 2024

Conversation

barnstar
Copy link
Member

@barnstar barnstar commented Mar 13, 2024

Updates tailscale/corp#18202

Adds a view to see the currently set MDM settings, we're going to need this to debug actual MDM integrations more effectively.

Adds a syspolicy handler for Android in cmd/tailscale. This allows the Go code to use the syspolicy package to read values set by a system administrator using the Android RestrictionsManager.

Out of the box, this adds supports for a number of MDM policies that are fully integrated on the Go side, such as ExitNodeID (forced exit node functionality).

Signed-off-by: Jonathan Nobels jonathan@tailscale.com
Signed-off-by: Andrea Gottardo andrea@gottardo.me

@barnstar barnstar force-pushed the jonathan/mdm-debug branch 3 times, most recently from 108b465 to 65a6f6a Compare March 13, 2024 20:17
barnstar and others added 2 commits March 13, 2024 16:44
Updates tailscale/corp#18202

Adds a syspolicy handler for Android in cmd/tailscale. This allows the Go code to use the syspolicy package to read values set by a system administrator using the Android RestrictionsManager.

Out of the box, this adds supports for a number of MDM policies that are fully integrated on the Go side, such as `ExitNodeID` (forced exit node functionality).

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
Adds a view to see the currently set MDM settings, we're going to need this to debug actual MDM integrations more effectively.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
@barnstar barnstar merged commit f275656 into main Mar 13, 2024
3 checks passed
kari-ts added a commit that referenced this pull request Apr 8, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 9, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 10, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 10, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 10, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 10, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 10, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 10, 2024
* ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>

* android: PR suggestions for syspolicyHandler (#308)

Updates tailscale/corp#18202

Signed-off-by: Percy Wegmann <percy@tailscale.com>

---------

Signed-off-by: kari-ts <kari@tailscale.com>
Signed-off-by: Percy Wegmann <percy@tailscale.com>
Co-authored-by: Percy Wegmann <percy@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 10, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 25, 2024
port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>
kari-ts added a commit that referenced this pull request Apr 25, 2024
* ui: port syspolicy handler code to new app

port over #199 from cmd/tailscale and legacy_android to libtailscale and android/

Updates tailscale/corp#18202

Signed-off-by: kari-ts <kari@tailscale.com>

* android: PR suggestions for syspolicyHandler (#308)

Updates tailscale/corp#18202

Signed-off-by: Percy Wegmann <percy@tailscale.com>

---------

Signed-off-by: kari-ts <kari@tailscale.com>
Signed-off-by: Percy Wegmann <percy@tailscale.com>
Co-authored-by: Percy Wegmann <percy@tailscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants