Coder Social home page Coder Social logo

Comments (5)

AlexanderSupp avatar AlexanderSupp commented on August 20, 2024

I see no reason to define different permissions for individual images in a category. The regulations at the category level are completely sufficient. In my opinion, it also makes no sense to allow permission for different regulations in the configuration.
The "Own-" options can be used to regulate finer details.
Keep it stupid and simple.

from jg4-dev.

Elfangor93 avatar Elfangor93 commented on August 20, 2024

Another idea would be to create just one asset per category to handle permissions for all the images in the category.
This way we are able to select the permissions for the images independently of the permissions of the categories.

from jg4-dev.

MrMusic avatar MrMusic commented on August 20, 2024

Another idea would be to create just one asset per category to handle permissions for all the images in the category.

Would the permissions tab then appear for every image?
I guess this would confuse the users because they would think the setting would be separate for each image.

What do you think?
Do we need ACL on image level?

I don't think we need ACL on image level. I currently have no 'use case' for this.

Do we wanna create a configuration to turn the creation of assets on or off?

Would this not make the code more complicated and slow down the performance?

from jg4-dev.

Elfangor93 avatar Elfangor93 commented on August 20, 2024

Would the permissions tab then appear for every image?

We could decide where we wanna show this. We could also add another tab in the category edit view. Something like Image Permissions.

from jg4-dev.

Tazzios avatar Tazzios commented on August 20, 2024

And only create an asset record for the image if image authorization is NOT the same as the category/ an override has been set for the image.

I also do not see an use case for image ACL. For some special occasion maybe a few images, but if you use this option a lot i think you will lose oversight about who can see what image.

from jg4-dev.

Related Issues (20)

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.