Introduce AutoApproveEnterpriseSharedSessions feature flag
This feature would guard the feature development of auto-approving session connection requests for enterprise shared CRD sessions. To state it explicitly auto approval of the connection request dialog would only take place if: * the device is in a managed environment. * there was a local user activity in the last 5 minutes. The connection dialog would also show a 30 seconds countdown in the request dialog before auto-approving the connection request. Bug: b:397902801 Change-Id: I824109ca4701bd881913bc88e2780e0b33e9da98 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6309388 Reviewed-by: Joe Downing <joedow@chromium.org> Reviewed-by: Jeroen Dhollander <jeroendh@google.com> Commit-Queue: Ashutosh Singhal <macinashutosh@google.com> Cr-Commit-Position: refs/heads/main@{#1427185}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
a6a705ffa7
commit
cc0d7e738c
remoting/host/chromeos
@ -20,4 +20,8 @@ BASE_FEATURE(kEnableCrdSharedSessionToUnattendedDevice,
|
||||
"EnableCrdSharedSessionToUnattendedDevice",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
|
||||
BASE_FEATURE(kAutoApproveEnterpriseSharedSessions,
|
||||
"EnableAutoApproveEnterpriseSharedSessions",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
|
||||
} // namespace remoting::features
|
||||
|
@ -19,6 +19,10 @@ BASE_DECLARE_FEATURE(kEnableCrdFileTransferForKiosk);
|
||||
// Enable to allow shared CRD session to the login/lock screen.
|
||||
BASE_DECLARE_FEATURE(kEnableCrdSharedSessionToUnattendedDevice);
|
||||
|
||||
// Enable to auto-approve session connect request for enterprise shared CRD
|
||||
// sessions.
|
||||
BASE_DECLARE_FEATURE(kAutoApproveEnterpriseSharedSessions);
|
||||
|
||||
} // namespace remoting::features
|
||||
|
||||
#endif // REMOTING_HOST_CHROMEOS_FEATURES_H_
|
||||
|
Reference in New Issue
Block a user