Skip to content

serjoscha87/cockpit_GroupBoundAssets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

cockpit_GroupBoundAssets

addon for https://github.com/agentejo/cockpit

Purpose:

As soon as this plugin is installed cockpit will look up the current (logged in) user's group when he opens the assets browser and will only show asset-files uploaded by his/that group. Assets that have been uploaded by users of foreign groups will not be shown to the current user in the assets-view.

TODO

  • check what happens when a user does not have a group (think this may happen and cause failures)
  • add a hook to the assets view/list that makes the assets list at least show the creator's group (perhaps later more)

Installation

The "GroupBoundAssets" directory (which is next to the README.md) goes to your /cockpit/addons/ folder so that the bootstrap.php ist directly beneath /cockpit/addons/GroupBoundAssets/

Other projects according to cockpit

https://github.com/serjoscha87/cockpit_GROUPS/