Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat Req: implement blockedAuthorProps #12

Open
fontanon opened this issue Nov 3, 2023 · 1 comment
Open

Feat Req: implement blockedAuthorProps #12

fontanon opened this issue Nov 3, 2023 · 1 comment
Assignees
Labels
backlog Developers backlog enhancement New feature or request in progress Implementation in progress

Comments

@fontanon
Copy link

fontanon commented Nov 3, 2023

Hi. I'd like to request to include blockedAuthorProps under config/plugins.js. Very the same feature offered on strapi-plugin-comments: https://github.com/VirtusLab-Open-Source/strapi-plugin-comments#properties

The reason is I'd like to remove "email" from response as this is private info. I hope this make sense.

curl --location 'http://localhost:1337/api/reactions/list/api::entry.entry/28'

[
    {
        "id": 1,
        "createdAt": "2023-10-31T12:39:20.733Z",
        "updatedAt": "2023-10-31T12:39:20.733Z",
        "kind": {
            "id": 1,
            "slug": "like",
            "name": "like"
        },
        "user": {
            "id": 1,
            "username": "fontanon",
            "email": "[email protected]" <--------------- remove this
        }
    },
    {
        "id": 2,
        "createdAt": "2023-10-31T12:45:41.496Z",
        "updatedAt": "2023-10-31T12:45:41.496Z",
        "kind": {
            "id": 1,
            "slug": "like",
            "name": "like"
        },
        "user": {
            "id": 2,
            "username": "johndoe",
            "email": "[email protected]" <---------------- remove this
        }
    }
]
@cyp3rius cyp3rius self-assigned this Nov 6, 2023
@cyp3rius cyp3rius added enhancement New feature or request backlog Developers backlog in progress Implementation in progress labels Nov 6, 2023
@fontanon
Copy link
Author

Hi @cyp3rius I'd like to know if there is any plans for this. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Developers backlog enhancement New feature or request in progress Implementation in progress
Projects
None yet
Development

No branches or pull requests

2 participants