team_policies.stone 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. namespace team_policies
  2. struct TeamMemberPolicies
  3. "Policies governing team members."
  4. sharing TeamSharingPolicies
  5. "Policies governing sharing."
  6. emm_state EmmState
  7. "This describes the Enterprise Mobility Management (EMM) state for this team.
  8. This information can be used to understand if an organization is integrating with
  9. a third-party EMM vendor to further manage and apply restrictions upon the team's
  10. Dropbox usage on mobile devices.
  11. This is a new feature and in the future we'll be adding more new fields and additional
  12. documentation."
  13. example default
  14. sharing = default
  15. emm_state = disabled
  16. struct TeamSharingPolicies
  17. "Policies governing sharing within and outside of the team."
  18. shared_folder_member_policy SharedFolderMemberPolicy
  19. "Who can join folders shared by team members."
  20. shared_folder_join_policy SharedFolderJoinPolicy
  21. "Which shared folders team members can join."
  22. shared_link_create_policy SharedLinkCreatePolicy
  23. "Who can view shared links owned by team members."
  24. example default
  25. shared_folder_member_policy = team
  26. shared_folder_join_policy = from_anyone
  27. shared_link_create_policy = team_only
  28. # NOTE: we do not reuse sharing.MemberPolicy here since we may want to enable folder-specific member
  29. # policies that work on top of the broader team policies.
  30. union SharedFolderMemberPolicy
  31. "Policy governing who can be a member of a folder shared by a team member."
  32. team
  33. "Only a teammate can be a member of a folder shared by a team member."
  34. anyone
  35. "Anyone can be a member of a folder shared by a team member."
  36. union SharedFolderJoinPolicy
  37. "Policy governing which shared folders a team member can join."
  38. from_team_only
  39. "Team members can only join folders shared by teammates."
  40. from_anyone
  41. "Team members can join any shared folder, including those shared by users outside the team."
  42. union SharedLinkCreatePolicy
  43. "Policy governing the visibility of shared links. This policy can apply to newly created shared
  44. links, or all shared links."
  45. default_public
  46. "By default, anyone can access newly created shared links.
  47. No login will be required to access the shared links unless overridden."
  48. default_team_only
  49. "By default, only members of the same team can access newly created shared links.
  50. Login will be required to access the shared links unless overridden."
  51. team_only
  52. "Only members of the same team can access all shared links.
  53. Login will be required to access all shared links."
  54. union EmmState
  55. disabled
  56. "Emm token is disabled"
  57. optional
  58. "Emm token is optional"
  59. required
  60. "Emm token is required"