Download the PHP package visol/powermail-exportperms without Composer

On this page you can find all versions of the php package visol/powermail-exportperms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package powermail-exportperms

Powermail Export Permissions

By default, an editor who has read access to a page in TYPO3, access to Powermail mails and answers and permissions to use the Powermail module can read and export the submitted form data. If you're working with a page where every editor can see every page but only edit those he has permissions for, this might not be desirable.

This simple extension hooks into the Powermail and the List module and check for write access to the page. If there is no write access, the mails cannot be exported.

Compatibility and Maintenance

This package is currently maintained for the following versions:

TYPO3 Version Package Version Branch Maintained
TYPO3 11.5.x 3.x master Yes
TYPO3 8.7.x 2.x - No
TYPO3 6.2.x 1.x - No

Installation

Get it from composer:

composer require visol/powermail-exportperms

Usage

The list view doesn't display records from the tables tx_powermail_domain_model_mails and tx_powermail_domain_model answers if the user doesn't have at least content editing permissions on a page. This is done by using a hook in the TYPO3 core.

To use this functionality in the Powermail backend module, copy the backend templates to your template extension (or anywhere you want) and configure the module to use them:

module.tx_powermail {
    view {
        templateRootPath = path/to/Templates
        partialRootPath = path/to/Partials
        layoutRootPath = path/to/Layouts
    }
}

Then, import the namespace of the extension's ViewHelper:

{namespace pmep=Visol\PowermailExportperms\ViewHelpers}

And wrap whatever you want to show and hide depending on the editing rights with an if condition using the UserHasWritePermissionForPage ViewHelper:

<f:if condition="{pmep:userHasWritePermissionForPage()}">
    <f:then>
        [Show stuff]
    </f:then>
    <f:else>
        Access denied.
    </f:else>
</f:if>

Security considerations

Be aware that this extension merely hides records from the user. It does not prevent fetching the records with other views providing database listing or by manipulating URL parameters from the edit/show record functionalities in the TYPO3 backend.

Do not use the extension if you are obliged to make the records completely inaccessible for a user.

Requirements


All versions of powermail-exportperms with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^11.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package visol/powermail-exportperms contains the following files

Loading the files please wait ....