2017 © Pedro PelĂĄez
 

pimcore-bundle members

Pimcore 5.x User, Object, Asset and Document Authentication

image

dachcom-digital/members

Pimcore 5.x User, Object, Asset and Document Authentication

  • Friday, July 27, 2018
  • by solverat
  • Repository
  • 7 Watchers
  • 20 Stars
  • 1,762 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 12 Forks
  • 9 Open issues
  • 39 Versions
  • 28 % Grown

The README.md

Pimcore Members Bundle

Add frontend user authentication and document restriction to pimcore., (*1)

Join the chat at https://gitter.im/pimcore/pimcore Software License Latest Release Tests PhpStan, (*2)

Release Plan

Release Supported Pimcore Versions Supported Symfony Versions Release Date Maintained Branch
5.x 11.0 6.2 28.09.2023 Feature Branch master
4.x 10.5 - 10.6 5.4 22.11.2021 Unsupported 4.x
3.x 6.0 - 6.8 3.4, ^4.4 21.07.2019 Unsupported 3.x
2.5 5.4, 5.5, 5.6, 5.7, 5.8 3.4 18.07.2019 Unsupported 2.5
1.5 4.0 -- 07.07.2017 Unsupported pimcore4

Features

  • Create Members in backend
  • Allow Members to register in frontend
  • Restrict documents, objects and assets to specific user roles

Installation

Please read the installation instructions before going deep with Members!, (*3)

Composer Installation

  1. Add code below to your composer.json
"require" : {
    "dachcom-digital/members" : "~5.0.0"
}

Add Bundle to bundles.php:, (*4)

return [
    MembersBundle\MembersBundle::class => ['all' => true],
];
  • Execute: $ bin/console pimcore:bundle:install MembersBundle

Upgrading

  • Execute: $ bin/console doctrine:migrations:migrate --prefix 'MembersBundle\Migrations'

Optional: Class Installation

Read more about the required classes below)., (*5)

bin/console members:install:class

Security Installation

It is not possible to merge security configurations from multiple locations, including bundles. Instead, you have to move them to one single config file, e.g. config/packages/security.yaml. Please adopt security_auth_manager.yaml and merge your own firewall configuration into one single file., (*6)

Route Installation

MembersBundle does not include any routes per default. Otherwise, it would be hard for you to change or override included routes., (*7)

Include all Routes, (*8)

# config/routes.yaml
app:
    resource: '@MembersBundle/config/pimcore/routing/all.yaml'

Just include some Routes, (*9)

# config/routes.yaml
members_auth:
    resource: '@MembersBundle/config/pimcore/routing/auth.yaml'
    prefix: /{_locale}/members #change your prefix if you have to.

Class Installation

Since Members should be the one and only frontend authentication bundle, we need to add the most flexibility as possible. But no worries, it's still simple to integrate., (*10)

There is also a class installer command. If you're not using any special class configuration, feel free to use this command: $ bin/console members:install:class Use the -o argument to also install the SsoIdentity Class, (*11)

You need two classes: User and Group. So let's create it:, (*12)

User
1. Create a class and call it MembersUser 2. Add parent class: \MembersBundle\Adapter\User\AbstractUser 3. Add fields:, (*13)

Name Field Type Comment
userName Input
email Input Note: Do not add this field if you're using the CMF.
confirmationToken Input must set to it read only
lastLogin Date & Time must set to it read only
password Password Hide it, if you want. Note: Do not add this field if you're using the CMF.
passwordRequestedAt Date & Time must set to it read only
groups User Group This field comes with Members

membersUser is the default name, you may want to change it. Read here how to achieve that., (*14)

Customer Data Framework

If you want to use the Customer Data Framework you need to do some further work. Read more about it here., (*15)

SSO Login

You want to enable the SSO Feature in Members? Read more about it here., (*16)

Group
1. Create a class and call it MembersGroup 2. Add parent class: \MembersBundle\Adapter\Group\AbstractGroup 3. Add fields:, (*17)

Name Field Type Comment
name Input
roles Multiselection Set "Options Provider Class or Service Name" to @MembersBundle\CoreExtension\Provider\RoleOptionsProvider

membersGroup is the default name, you may want to change it. Read here how to achieve that., (*18)

Feel free to add additional fields since those are just the required ones. That's it. Members will use those classes to manage authentication and group management., (*19)

Email Configuration

You're almost there, just check the email configuration and you're good to go., (*20)


User Management: Further Information


Restrictions

Learn more about the Members Restriction feature:, (*21)


Single Sign On (SSO) with OAuth2

Upgrade Info

Before updating, please check our upgrade notes!, (*22)

License

DACHCOM.DIGITAL AG, Löwenhofstrasse 15, 9424 Rheineck, Schweiz
dachcom.com, dcdi@dachcom.ch
Copyright © 2024 DACHCOM.DIGITAL. All rights reserved., (*23)

For licensing details please visit LICENSE.md, (*24)

The Versions

27/07 2018

dev-master

9999999-dev https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+ GPL-3.0-or-later

The Requires

 

authentication members pimcore

26/07 2018

dev-pimcore4

dev-pimcore4 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+ GPL-3.0-or-later

The Requires

 

authentication members pimcore

26/07 2018

v1.5.5

1.5.5.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

The Requires

 

authentication members pimcore

17/07 2018

dev-scrummer-docs-fix

dev-scrummer-docs-fix https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

The Requires

 

authentication members pimcore

13/07 2018

v2.1.1

2.1.1.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

The Requires

 

authentication members pimcore

12/07 2018

v1.5.4

1.5.4.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

The Requires

 

authentication members pimcore

06/05 2018

v2.1.0

2.1.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

authentication members pimcore

06/05 2018

dev-LosHawlos-add-delete-account

dev-LosHawlos-add-delete-account https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

authentication members pimcore

19/04 2018

dev-pr/49

dev-pr/49 https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

authentication members pimcore

07/04 2018

dev-fix-reset-action-in-backend

dev-fix-reset-action-in-backend https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0-or-later

authentication members pimcore

29/01 2018

dev-customerDataFramework

dev-customerDataFramework https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+ GPL-3.0-or-later

authentication members pimcore

28/11 2017

v1.5.3

1.5.3.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

25/10 2017

v2.0.1

2.0.1.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

authentication members pimcore

02/10 2017

v2.0.0

2.0.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 5.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

authentication members pimcore

26/09 2017

v1.5.2

1.5.2.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

12/09 2017

v1.5.1

1.5.1.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

07/07 2017

v1.5.0

1.5.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

21/06 2017

v1.4.1

1.4.1.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

28/04 2017

v1.4.0

1.4.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.x User, Object, Asset and Document Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

03/08 2016

v1.3.0

1.3.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

08/07 2016

v1.1.4

1.1.4.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

20/06 2016

1.1.3

1.1.3.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

20/06 2016

1.1.2

1.1.2.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

17/06 2016

1.1.1

1.1.1.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

17/06 2016

1.1.0

1.1.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

16/06 2016

v1.0.12

1.0.12.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

11/06 2016

v1.0.11

1.0.11.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

02/06 2016

v1.0.10

1.0.10.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

01/06 2016

v1.0.9

1.0.9.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

01/06 2016

v1.0.8

1.0.8.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

01/06 2016

v1.0.7

1.0.7.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

31/05 2016

v1.0.6

1.0.6.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

26/05 2016

v1.0.5

1.0.5.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

23/05 2016

v1.0.4

1.0.4.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

23/05 2016

v1.0.3

1.0.3.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

18/05 2016

v1.0.2

1.0.2.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

18/05 2016

v1.0.1

1.0.1.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

17/05 2016

v1.0.0

1.0.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore

13/04 2016

v0.9.0

0.9.0.0 https://github.com/dachcom-digital/pimcore-members

Pimcore 4.0 Authentication

  Sources   Download

GPL-3.0+

The Requires

 

authentication members pimcore