It looks like there is a group permissions functionality, however there seems like there is no way to set groups and permissions? OR have i just misplaced this functionality as I've been implementing my own elements.
Yeah we could really use some docs! The group specifications go in the config. Whether you have a yaml or php config file, the syntax may differ but it should look something like this (I just cped this out of my config.php):
"groups" => [
"contentEditor" => [
'$vars' => [
"finder.path" => "storage/uploads"
],
"collections" => [
"create" => false,
"delete" => false
]
],
"developer" => [
'$vars' => [
"finder.path" => "storage/uploads"
],
"collections" => [
"create" => false,
"delete" => false
]
]
]
Once you have created the group, you can give more granular collection control via the "access" tab on the collection view.
Ace,. That's perfect
And haha yea docs would be amazing. We have most of what we want working
its just the small bits like complex filter statements via the collection
modual
To be honest, Where's the best place to ask about things ? Here as issue or
...
On Wed, 12 Apr 2017 at 18:23, Gryphon Myers notifications@github.com
wrote:
Yeah we could really use some docs! The group specifications go in the
config. Whether you have a yaml or php config file, the syntax may differ
but it should look something like this (I just cped this out of my
config.php):'''
"groups" => [
"contentEditor" => [
'$vars' => [
"finder.path" => "storage/uploads"
],
"collections" => [
"create" => false,
"delete" => false
]
],
"developer" => [
'$vars' => [
"finder.path" => "storage/uploads"
],
"collections" => [
"create" => false,
"delete" => false
]
]
]
'''Once you have created the group, you can give more granular collection
control via the "access" tab on the collection view.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/COCOPi/cockpit/issues/531#issuecomment-293649160, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB0N8B6EvNKNFPjwPrvjKAwYBtOAEH4Jks5rvQh4gaJpZM4M7Bcp
.
Probably here, yup. No guarantee anyone will respond, but I am pretty regularly browsing issues and I try to answer questions when I can. Some things only @aheinze can answer though, since it's his codebase.
Haha well any help is much apreachated.
If I get time I'll try and post back a few things we build, Might help
other new starters
On Wed, 12 Apr 2017 at 19:18, Gryphon Myers notifications@github.com
wrote:
Probably here, yup. No guarantee anyone will respond, but I am pretty
regularly browsing issues and I try to answer questions when I can. Some
things only @aheinze https://github.com/aheinze can answer though,
since it's his codebase.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/COCOPi/cockpit/issues/531#issuecomment-293664128, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB0N8PXX17HVByIM9AhApr9Hm8uh_BuRks5rvRV9gaJpZM4M7Bcp
.
Hi,
I know that the current situation is unacceptable but I'm already working on the new docs and hope to get it online next month. Fingers crossed 🤞
Greets,
Artur
next month ? Ace, to be honest ive been able to work most things out by just reading your code, its bit this this question where the plot was lost, ha!
I'm already working on the new docs and hope to get it online next month.
Great to hear! That's exciting news.
This issue can probably be closed now, yeah?
Yea, ha!
GROUPS:
Instead of trying to create own groups I had to learn today that there is already a powerful group-addon for cockpit.
It solves many issues and should be the first choice when trying to get some sort of groups into the user management of cockpit:
It's available on Github from a user called "serjoscha87":
Groups Management UI Addon for Cockpit
Ist easy to install and it works with cockpit v0.5.5.
If you plan to waste some time (as I did) and prefer doing something yourself that won't work as expected you may read on...
Yeah we could really use some docs! The group specifications go in the config. Whether you have a yaml or php config file, the syntax may differ but it should look something like this (I just cped this out of my config.php): [..]
Thanks Gryphon! Your posting made it quite easy to create groups for me.
=========
If anyone can't figure out how to create groups in the config.yaml file I "translated" the example above and tested it for Cockpit 0.5.5.
Just open the _/path/to/cockpit/config/config.yaml_ file and paste the following block.
This will add the groups contentEditor and developer.
groups:
contentEditor:
$vars:
finder.path: "storage/uploads"
collections:
create: false
delete: false
developer:
$vars:
finder.path: "storage/uploads"
collections:
create: false
delete: false
Most helpful comment
GROUPS:
Instead of trying to create own groups I had to learn today that there is already a powerful group-addon for cockpit.
It solves many issues and should be the first choice when trying to get some sort of groups into the user management of cockpit:
It's available on Github from a user called "serjoscha87":
Groups Management UI Addon for Cockpit
Ist easy to install and it works with cockpit v0.5.5.
If you plan to waste some time (as I did) and prefer doing something yourself that won't work as expected you may read on...
Thanks Gryphon! Your posting made it quite easy to create groups for me.
=========
If anyone can't figure out how to create groups in the config.yaml file I "translated" the example above and tested it for Cockpit 0.5.5.
Just open the _/path/to/cockpit/config/config.yaml_ file and paste the following block.
This will add the groups contentEditor and developer.