kaliop-uk / ezmigrationbundle

This bundle makes it easy to handle eZPlatform / eZPublish5 content upgrades/migrations
GNU General Public License v2.0
53 stars 81 forks source link

ezpublish-kernel v8.0.0-beta3 support #229

Closed damianz5 closed 3 years ago

damianz5 commented 4 years ago

Ezpublish-kernel v8.0.0-beta3 support

related: https://github.com/ezsystems/ezpublish-kernel/pull/2839

damianz5 commented 4 years ago

Hi @gggeek, could you please squash and merge this PR, thank you

ryanolee commented 4 years ago

Hi @damianz5, As a quick update on what might still need doing on this the RoleManger.php needs it's calls to the "addPolicy", "unassignRoleFromUser", "deletePolicy" and "updateRole" been moved out into a separate service / into that class to avoid BC breaks.

Appropriate replacements look like they may exist in the "EzSystems\EzPlatformAdminUi\Service\Role" service. Not sure if we would want to re-implement that functionality here or if there is a better way of doing it :thinking:

https://doc.ezplatform.com/en/master/releases/ez_platform_v3.0_deprecations/#api-methods

Began work on something for this here: https://github.com/ryanolee/ezmigrationbundle/commit/4aedbe21dd0481f5e3e7c3301b65c37422efc9d5

gggeek commented 3 years ago

Thanks!

I am currently merging this manually in tanoconsulting/ezmigrationbundle2 - branch main