Artyom Mezin
Artyom Mezin
But how to show page for only logged-in users (`login: true`) AND users in paid group (`paid: true`)?
I don't understand how it works... user in `paid` group doesn't have access to `paid: true` pages, but have access to `paid: false` pages (like guests). Why? 🤔
I have the same code!
@mahagr Ok, from the beginning. 1) I have `paid` group. All permissions are not set. 2) I have user `irina` in `paid` group. Permissions are not set except `login to...
>You need to create permission `paid` and assign it to the group. Do you have an example?
Nope. At first glance this does not look easy so I need time. I don't understand where to write what code in my case.
Ok, need to wait for the new feature. But can you help me with code you mentioned? Where I need to put `PermissionsRegisterEvent::class => ['onRegisterPermissions', 1000],` `$actions = PermissionsReader::fromYaml("plugin://{$this->name}/permissions.yaml");` etc...
@mahagr Any changes on this?
I have the same question as @ikarstein about changing folder structure between versions... but also I want change structure not in the whole site, but in some parts (seminar name...
+100 The first time I tried to use this plugin was a few years ago and it sent me automatic changes that I then recommitted. Removed. Today I try again....