Agent policies not applied, commands queued until app is opened, and kiosk mode transition fails

Đang mở
#76 8 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, docker, java, kotlin, react, typescript
Lĩnh vực
api, backend, mobile

Hướng nghiên cứu

Start by reading the Android Agent policy enforcement, background command execution, and kiosk transition entry points, then compare their behavior with the server REST API and the QR work profile enrollment flow. The report covers three separate failures and does not include device model, Android version, or diagnostic logs; request those details and inspect server, supervisor, and Android logcat output. Done means restrictions take effect, supported commands run in the background, and an enrolled device can switch to kiosk mode.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Component

Server / REST API

What happened?

Hi, I was testing your MDM, and I noticed a few issues. Thank you for making this project available!

Component: Android Agent, device policies, background service/command execution, and kiosk mode.

Issues observed:

  • Device restrictions: Block Screenshots and Block Factory Reset do not seem to take effect when enabled.
  • Commands: After QR enrollment and work profile setup, commands remain queued until I manually open the MDMesh Agent app.
  • Kiosk mode: Switching an already enrolled device from the default agent configuration to kiosk mode does not seem to work.

Expected behavior:
Restrictions should be enforced, commands should execute in the background where supported, and switching to kiosk mode should work as documented.

I'm not sure what is causing these issues, but I wanted to share my findings to help with debugging. Thanks!

Steps to reproduce

Enroll an Android device using the QR code.
Set up the work profile and complete enrollment.
Select an agent and enable restrictions such as Block Screenshots and Block Factory Reset.
Check whether the restrictions take effect on the device.
Send commands from the MDM dashboard while the agent app is not open.
Observe that the commands remain queued, then manually open the agent app and check whether they execute.
Enroll or configure a device using the default agent, then attempt to switch it to kiosk mode.

MDMesh version / commit

0.3.1 and 0.3.2

Environment

Deployment: Docker
Host OS: Ubuntu Linux
Android device model: To be added
Android version: To be added
Enrollment mode: QR code / work profile

Relevant logs
I can provide relevant server, supervisor, and Android adb logcat logs if needed to help investigate these issues.

I have not confirmed the underlying cause, so any guidance on expected behavior or additional debugging steps would be appreciated.

Thanks for your time and for maintaining MDMesh!
Before submitting
  • I searched existing issues and this isn't a duplicate.
  • I'm not reporting a security vulnerability here (those go via private disclosure, not a public issue).
Ngôn ngữ chính
Java
Star
44
Fork
25
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
80

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MDMesh-app/MDMesh

Tất cả issue của MDMesh-app/MDMesh

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.