Git Product home page Git Product logo

Comments (3)

simonwheatley avatar simonwheatley commented on July 2, 2024

You can only validate the user you are authenticated as.

Perhaps I should add a CLI command to authenticate a user, on the basis that if you're running a CLI command you're either so far inside the perimeter that we're in trouble OR you're an authorised admin.

What do you think, @nickdaugherty @joshbetz @seanosh?

from vip-support.

seanosh avatar seanosh commented on July 2, 2024

You can only validate the user you are authenticated as.

Who else exactly do you think I'm trying to authenticate as? ;)

Perhaps I should add a CLI command to authenticate a user, on the basis that if you're running a CLI command you're either so far inside the perimeter that we're in trouble OR you're an authorised admin.

Add a CLI command to what, though? Where/how would such a command be executed? Ideally it'd be wp-cli so we're not re-inventing some CLI wheel here, but that won't work until the require_once(ABSPATH . 'wp-settings.php'); is moved to the bottom of wp-config.php vs. where it is now.

Also - this plugin switched the role of one of the users on a site to "VIP Support" (or the user received the email and clicking the link worked for them). I think it's a bit dangerous to assume just because you have an @automattic.com or @a8c.com address that you should be in the VIP Support role (and I mentioned this in Slack).

from vip-support.

scottsweb avatar scottsweb commented on July 2, 2024

Closing as #38 fixed this. cc @simonwheatley

from vip-support.

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.