Skip to content

many bans? how? #17

Open
Open
@vesper8

Description

Hi there!

Just checking out this new package after you told me about it on your Love package.. I'm going to be using both of course :)

I also mentioned I was looking for a tool to handle per-user bans/blocks. To tell you the truth I'm working on a dating site so you can imagine it needs all these functionalities

As soon as I started reading the features of this package, the very first one you mention is "models can have many bans" and immediately in my head I started thinking I could use this not only to handle full-on bans in my application, but I could also use it to handle "reports" in a way.

In the sense that, if one user gets reported for abuse by another user.. then he isn't banned yet, but if 3 users report him, then that converts into a ban

I thought your "many bans" implied that I could set a threshold where the user would only get banned after x number of bans had been applied to it.

Is that not at all what you meant?

It would be nice to write a little more about this mysterious feature that made it to the top of the list =D

Another small thing so I don't create an issue for it.. I'm confused about what you mean in the "Scope auto-apply" section. Do you mean that we have to add the shouldApplyBannedAtScope => true if we want to always apply the withoutBanned() by default on all queries on the bannable model?

Big thanks for putting all this love into these packages of course :) extremely handy and useful!

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions