How to add new group permissions? describes how add new group permissions when using the Drupal 7 version of the module.
function [mymodule]_group_permission() {
return array(
'schedule publishing of nodes' => array(
'title' => t('Schedule content publication'),
'description' => t('Allows users to set a start and end time for content publication'),
),
'view scheduled content' => array(
'title' => t('View scheduled content list'),
'description' => t('Allows users to see all content which is scheduled.'),
),
);
}
This does not appear to be the case in Drupal 8.
How can I add my own custom permissions to the group permissions screen, in Drupal 8?