You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: repository/office365/lang/en/repository_office365.php
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,20 +28,74 @@
28
28
$string['coursegroup'] = 'Disable Groups (Courses) folder in file picker';
29
29
$string['defaultgroupsfolder'] = 'Course Files';
30
30
31
+
$string['enableanonymousshare'] = 'Disable "Create an access controlled link to the file" option';
32
+
$string['enableanonymousshare_help'] = 'When unchecked (default), users can choose to create a copy of a file and share it with everyone in the organization. The copy is stored in the user\'s OneDrive and shared with all organization members.
33
+
34
+
**How It Works:**
35
+
* Creates a copy of the selected file with a " - Shared" suffix.
36
+
* The copy is saved to the user\'s OneDrive (not the original location).
37
+
* An organization-scoped sharing link is created for the copy.
38
+
* The original file remains unchanged with its existing permissions.
39
+
40
+
**Access Control:**
41
+
* Only members of your Microsoft 365 organization can access the fil.e
42
+
* Anyone in the organization with the link can VIEW the file.
43
+
* External users and anonymous users CANNOT access the file.
44
+
* The link does not expire automatically.
45
+
* The file owner can manage or revoke sharing from their OneDrive.
46
+
47
+
**When to Use:**
48
+
* You want to share a file with all organization members.
49
+
* You want to protect the original file from accidental changes.
50
+
* Storage space in Moodle is a concern.
51
+
* The file content is appropriate for organization-wide access.
52
+
53
+
**Important Notes:**
54
+
* The copy operation may take a few seconds for large files.
55
+
* Users should ensure the file content is appropriate for organization-wide sharing.
56
+
* The copied file will appear in the user\'s OneDrive with " - Shared" suffix.
57
+
* Changes made to the original file will NOT be reflected in the shared copy, and vice versa.
58
+
59
+
Check this box to disable this option and prevent users from creating organization-shared copies.';
60
+
$string['enableanonymoussharewarning'] = '<div class="alert alert-info"><strong>Note:</strong> When using the "Create an access controlled link to the file" option, a copy of the original file is created and shares with all organization members. The original file remains unchanged. Users should ensure the file content is appropriate for organization-wide access.</div>';
61
+
62
+
$string['enabledirectlink'] = 'Disable "Link to the file" option';
63
+
$string['enabledirectlink_help'] = 'When unchecked (default), users can add a direct link to a file in their OneDrive instead of copying it to Moodle. The file remains in OneDrive and Moodle stores only a reference link.
64
+
65
+
**Important Access Control Considerations:**
66
+
* The file\'s existing OneDrive permissions are NOT changed.
67
+
* Users accessing the link must have appropriate permissions in OneDrive to view the file.
68
+
* It is the responsibility of the user adding the link to ensure proper access permissions.
69
+
* If OneDrive permissions are not set correctly, other users may be unable to access the file.
70
+
71
+
**When to use this option:**
72
+
* Files are already shared with the intended audience in Microsoft 365.
73
+
* You want to maintain a single source of truth in OneDrive.
74
+
* Storage space in Moodle is a concern.
75
+
* Edits to the OneDrive file should be reflected in Moodle.
76
+
77
+
Check this box to disable this option and require all files to be copied to Moodle.';
78
+
$string['enabledirectlinkwarning'] = '<div class="alert alert-info"><strong>Note:</strong> When using the "Link to the file" option, no sharing setting changes are made to the OneDrive file. Users adding the file must ensure that file permissions in OneDrive are set correctly.</div>';
79
+
31
80
$string['erroraccessdenied'] = 'Access denied';
32
81
$string['errorauthoidcnotconfig'] = 'Please configure the OpenID Connect authentication plugin before attempting to use the Microsoft 365 repository.';
$string['notconfigured'] = '<p class="error">To use this plugin, you must first configure the <a href="{$a}/admin/settings.php?section=local_o365">Microsoft 365 plugins</a></p>';
43
94
$string['office365:view'] = 'View Microsoft 365 repository';
44
95
$string['onedrivegroup'] = 'Disable My OneDrive folder in file picker';
96
+
$string['controlledsharelinkdesc'] = 'Shared copy (organization members only)';
97
+
$string['copiedfile'] = 'Copy of file';
98
+
$string['directlinkdesc'] = 'Direct link (existing permissions)';
45
99
$string['pluginname'] = 'Microsoft 365';
46
100
$string['pluginname_help'] = 'A Microsoft 365 Repository';
47
101
$string['privacy:metadata'] = 'This plugin communicates with the Microsoft 365 OneDrive API as the current user. Any files uploaded will be sent to the remote server';
0 commit comments