DNEnvironment::canUploadArchive
Allows only selected {@link Member} objects to upload {@link DNDataArchive} objects linked to this {@link DNEnvironment}.
Note: This is not uploading them to the actual environment itself (e.g. uploading to the live site) - it is the process of uploading a *.sspak file into Deploynaut for later 'restoring' to an environment. See {@link self::canRestore()}.
Signature
public function canUploadArchive([Member|null
$member = NULL] )
Parameters
$member
— object- The {@link Member} object to test against. If null, uses Member::currentMember();
Returns
- boolean
- true if $member can upload archives linked to this environment, false if they can't.