Giter Club home page Giter Club logo

Comments (8)

barnabasJ avatar barnabasJ commented on June 29, 2024

Locally, I just added authorize?: false to make my test work for now. I haven't had the time yet to investigate where the actor would be coming from.

from ash.

barnabasJ avatar barnabasJ commented on June 29, 2024

Maybe you already know where you would get it from or if it is even necessary, @zachdaniel. Otherwise, let me know, and I can investigate further.

from ash.

zachdaniel avatar zachdaniel commented on June 29, 2024

So, taking a look, I can see why this would be the case for the destroy call, but not the update call. I will push up a fix for the update call in a bit, and we can see if that resolves it for you.

from ash.

barnabasJ avatar barnabasJ commented on June 29, 2024

So, taking a look, I can see why this would be the case for the destroy call, but not the update call. I will push up a fix for the update call in a bit, and we can see if that resolves it for you.

I'm not sure I understand. Did you mean destroy in the second sentence? I'm also not sure what the difference is. Both are calls to actions that do not get the necessary data to run policies.

from ash.

zachdaniel avatar zachdaniel commented on June 29, 2024

What information are they missing (as of the latest?) I believe they are fixed.

from ash.

barnabasJ avatar barnabasJ commented on June 29, 2024

The actor

from ash.

zachdaniel avatar zachdaniel commented on June 29, 2024

We get the actor from the source changeset, because we copy the private context

from ash.

barnabasJ avatar barnabasJ commented on June 29, 2024

I guess that's happening in copy_source? I didn't check in there, because the variable passed in was called constraints.

I wasn't able to verify this yet because the newest commit kills my tests because of infinite recursion.

from ash.

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.