Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Retrieve users without auth? #670

Description

@lapidus

I have a WP installation where "staff members" are setup as extended Users (quite a common practice I think?). I would like to make this queryable without auth - is that possible? Or would you recommend setting up a dedicated CPT for staff?

Activity

  1. kadamwhite commented on Dec 2, 2014

    @kadamwhite
    Contributor

    We did this on my latest project by creating a CPT of different user roles, and then filtered relevant user model properties for matching users onto an array in the CPT's response data; however, it may be preferable to define your own endpoint. You'll need to write a little more of the internal logic, but you'll have more control over what properties are exposed, and how they're formatted.

  2. danielbachhuber commented on Dec 8, 2014

    @danielbachhuber
    Member

    Basic user data will become publicly listable without authorization. #695

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions