Giter Club home page Giter Club logo

Comments (6)

casbin-bot avatar casbin-bot commented on May 28, 2024

@sagilio @sociometry @AsakusaRinne

from casbin-aspnetcore.

sagilio avatar sagilio commented on May 28, 2024

Ok. I will fix it later. This commit will fix another BUG, we can not reset it.

from casbin-aspnetcore.

hsluoyz avatar hsluoyz commented on May 28, 2024

@sagilio why did you remove my fix for: #58 (comment) ? The fix commit: d0fa72b is not in any branch now

from casbin-aspnetcore.

sagilio avatar sagilio commented on May 28, 2024

@sagilio why did you remove my fix for: #58 (comment) ? The fix commit: d0fa72b is not in any branch now

@hsluoyz

p, [email protected], BasicTest, Get

This policy is an example of the basic transformer, it is not wrong here.
it needs the user to change the default transformer options to test it. I commented on the reason here (#58 (comment)).

In fact, I have tried to enhance the experience for the user trying the example by setting the transformer at the attribute. But the change is in the reverted commit and there is a little logic conflict with your commit

So I recovered the backup branch and only cherry-pick the last commit to make sure the last version worked well.

from casbin-aspnetcore.

hsluoyz avatar hsluoyz commented on May 28, 2024

it needs the user to change the default transformer options to test it. I commented on the reason here (#58 (comment)).

I don't think it makes sense if it has made a lot of people think it's a bug. It's not a good example code. If you want to show some special transformer functionality, then you create a "working" example especially for it. The example itself SHOULD be working out-of-box. Above all, the result we see is that the user experience has been impacted by the wrongly-designed example, long-time no response in the issue, and broken CI for several months. I don't think this is a good way to maintain the software responsibly.

from casbin-aspnetcore.

sagilio avatar sagilio commented on May 28, 2024

it needs the user to change the default transformer options to test it. I commented on the reason here (#58 (comment)).

I don't think it makes sense if it has made a lot of people think it's a bug. It's not a good example code. If you want to show some special transformer functionality, then you create a "working" example especially for it. The example itself SHOULD be working out-of-box. Above all, the result we see is that the user experience has been impacted by the wrongly-designed example, long-time no response in the issue, and broken CI for several months. I don't think this is a good way to maintain the software responsibly.

You are right, the example code needs to enhance and I'm also sorry for the lack of time to positively maintain it lately, I will improve it.

from casbin-aspnetcore.

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.