Where to create user groups?

Hi, new to Cockpit. Loving it so far.

Anyway, been trying out Cockpit through Docker, to try it out. I can’t seem to find out where to create user groups and set permissions.

Am I overlooking something…?

Thanks!

via https://github.com/serjoscha87/cockpit_GROUPS . Currently bugged, see issues.

Oh, I didn’t even know there was a groups add-on. Will check that out.

Thanks.

You can create groups via config file.

example for /config/config.php:

https://getcockpit.com/documentation/reference/configuration

# define additional groups
    'groups' => [
        'author' => [
            '$admin' => false,
            '$vars' => [
                'finder.path' => '/storage/upload'
            ],
            'cockpit' => [
                'backend' => true,
                'finder' => true
            ],
            'collections' => [
                'manage' => true
            ]
        ]
    ],

example for /config/config.yaml instead:

groups:
  author:
    cockpit:
      backend: true
    collections:
      manage: true

Could anyone provide some more detailed description of the options and possibilities these group-settings can have? An example is nice, but for me it is not clear, what

groups:
  author:
    cockpit:
      backend: true

actually means.

My concrete questions:

  • Can I create a group, that only has access to adding items to a single collection / singleton?
  • Can I specify that a group can only upload files to a specific folder?