To access the database we use the deligation function in the mailfile.
Unfortunately a user can’t archiv document, there is only a error message “you have not enough privilegs”
With debuger I find the script sequence
Archive:
policyList = db.ArchiveDestinations
If Fulltrim( policyList(0) ) = “” Then
needsSetup = |In order to archive selected documents you must have at least one archive setting enabled that specifies an archive database destination. To change your archive settings use the Actions->Archive->Settings menu item.|
Goto Trap
End If
The error occurs on the line policyList = db.ArchiveDestinations
The owner of the database or me as serveradministrator gets the policyList back, but no other user.
If there is already an archive database, check if the user is listed also in the archive log’s acl. By default the archive log is stored in the same folder as the archive database
Subject: Need Manager access with delete rights to archive (unless you’re the owner of a mailfile)
Mailfile delegates don’t have rights to perform archive functions. Archiving requires a minimum of Editor access with delete rights for mailfile owners (i.e., the calendarprofile note/Mail Preferences ‘Owner’), and a minimum of Manager access with delete rights for non-owners (which is also the minimum access for any non-mail database).