Giter Club home page Giter Club logo

Comments (4)

noxify avatar noxify commented on June 26, 2024

Hi @Djive,

thanks for reporting the issue.

To be honest, I didn't tested it in the past with a multi-site setup.

I can take a look into it, but currently I have no running Craft environment.

Greets,
Marcus

from asset-ownership.

Djive avatar Djive commented on June 26, 2024

Also, just to report, image transforms didn't work for us after import aswell.
As soon as we deinstalled Asset Ownership addon, transforms worked.
So for now, will go on without the addon.

Thanks!

from asset-ownership.

xhuang9 avatar xhuang9 commented on June 26, 2024

Just modify one line of code will fix this issue:
asset-ownership/src/AssetOwnership.php line 77 change to
if( Craft::$app->request->isCpRequest && !Craft::$app->user->getIsAdmin() && !Craft::$app->user->checkPermission('viewPeerAssets') )

from asset-ownership.

noxify avatar noxify commented on June 26, 2024

Hi,

thanks @xhuang9 for the input.
I changed it in the master branch.
https://github.com/noxify/asset-ownership/blob/master/src/AssetOwnership.php#L77

@Djive if you want, give it a try and let me know if it's working or not.

I have currently no time to test it in detail - sorry!

Regards,
Marcus

from asset-ownership.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.