Giter VIP home page Giter VIP logo

Comments (8)

ADmad avatar ADmad commented on May 26, 2024

The plugin doesn't have any docs. It doesn't enforce any particular schema for users table. All actions are generic enough to work with whatever you want.

from crud-users.

inoas avatar inoas commented on May 26, 2024

tokens seems to be a field
https://github.com/FriendsOfCake/crud-users/blob/master/src/Traits/VerifyTrait.php#L51
verified another
https://github.com/FriendsOfCake/crud-users/blob/master/src/Action/VerifyAction.php#L82

  1. Wrong, right?
  2. Could these be made configurable in any way? if not is_verified would be nice over just verified

from crud-users.

ADmad avatar ADmad commented on May 26, 2024
  1. Since the find method is configurable you can change the conditions in your custom finder.
  2. You can use beforeSave event to set another field.

For convenience though we can make those fields configurable through action config.

from crud-users.

inoas avatar inoas commented on May 26, 2024

That would be lovely!

For now is it that - or are there other fields to be aware of?

from crud-users.

inoas avatar inoas commented on May 26, 2024

In a hindsight I think docs alone would do. E.g. how to specify the finder and a 1-2 lines finder which specifies the fields.

Same for how to utilize beforeSave.

from crud-users.

ADmad avatar ADmad commented on May 26, 2024

It's unlikely anyone is going to find the time soon to write docs for this plugin.

from crud-users.

inoas avatar inoas commented on May 26, 2024

If I get to use it and understand it by doing so, then I could.
If you would be so kind and add this in a way you consider to be right, after merging my docs PR:

Since the find method is configurable you can change the conditions in your custom finder.
You can use beforeSave event to set another field.

?

Thanks.

from crud-users.

josegonzalez avatar josegonzalez commented on May 26, 2024

These were added in your pull request.

from crud-users.

Related Issues (5)

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.