2017 © Pedro Peláez
 

craft-plugin asset-ownership

This plugin extends the existing asset query and shows only the assets which has been uploaded by the current user.

image

noxify/asset-ownership

This plugin extends the existing asset query and shows only the assets which has been uploaded by the current user.

  • Wednesday, May 9, 2018
  • by noxify
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 200 % Grown

The README.md

Asset Ownership plugin for Craft CMS 3

This plugin extends the existing asset query and shows only the assets which has been uploaded by the current user. To ensure that an user can not overwrite an asset from another user, this plugin comes with the functionality to create unique asset file names., (*1)

Requirements

This plugin requires Craft CMS 3 or later., (*2)

Installation

Via Composer

composer require noxify/asset-ownership

Via Marketplace

Just search for Asset Ownership and click install., (*3)

Configuring Asset Ownership

The Plugin comes with two settings which can be configured via the Control Panel., (*4)

Name Default Required
Asset User Field NULL Yes
Create Unique Filename true Yes

Using Asset Ownership

After installing and enabling the Plugin, you have to create a new field., (*5)

  • Fieldname: Uploaded By
  • Handle: uploadedBy
  • Field Type: Users
  • Sources: All [x]
  • Limit: 1

After creating the new field, you have assign it to all your volumes., (*6)

Control Panel > Settings > Assets > Volumes > {volumename} > Tab: Field Layout

Last but not least, you have to go to Plugin Settings. Here you have to choose the created "Uploaded By" field in the dropdown., (*7)

How can I see all uploaded assets

To see all assets you must be an admin or you have the custom permission to see assets from other users., (*8)

The Versions

09/05 2018

dev-master

9999999-dev

This plugin extends the existing asset query and shows only the assets which has been uploaded by the current user.

  Sources   Download

MIT

The Requires

 

cms assets asset permission craftcms craft-plugin craft asset ownership i.love.nox

09/05 2018

1.0.2

1.0.2.0

This plugin extends the existing asset query and shows only the assets which has been uploaded by the current user.

  Sources   Download

MIT

The Requires

 

cms assets asset permission craftcms craft-plugin craft asset ownership i.love.nox

08/05 2018

1.0.1

1.0.1.0

This plugin extends the existing asset query and shows only the assets which has been uploaded by the current user.

  Sources   Download

MIT

The Requires

 

cms assets asset permission craftcms craft-plugin craft asset ownership i.love.nox

07/05 2018

1.0.0

1.0.0.0

This plugin extends the existing asset query and shows only the assets which has been uploaded by the current user.

  Sources   Download

MIT

The Requires

 

cms assets asset permission craftcms craft-plugin craft asset ownership i.love.nox