Giter Site home page Giter Site logo

Comments (4)

rtyley avatar rtyley commented on August 24, 2024

Hmm, must be something going wrong in https://github.com/guardian/gu-who/blob/666997a77e/app/lib/OrgUserProblems.scala#L80-L94 . Do you run gu-who frequently or manually every once in a while? There might be a bit of a race condition that gets exposed if gu-who runs are far apart.

Possibly we don't see this issue at the Guardian because we're running gu-who on an organisation webhook, so it gets run pretty frequently.

from gu-who.

epoberezkin avatar epoberezkin commented on August 24, 2024

There was a big gap indeed, we were trying to get access to some bot account that would be removed otherwise (and it was, correctly).
We plan to start running it regularly as cron job. Hook seems insecure to be honest - the token with owner privileges will be visible to all org members. Or am I missing something?

from gu-who.

rtyley avatar rtyley commented on August 24, 2024

There was a big gap indeed, we were trying to get access to some bot account that would be removed otherwise (and it was, correctly).

If you add the bot to a team called bots the 2FA requirement will be waived, but the other two won't - I guess the full-name requirement could have got you there.

Hook seems insecure to be honest - the token with owner privileges will be visible to all org members.

The GitHub docs aren't very clear on this, but I believe it's just org owners who have access to the Settings tab that org webhooks fall under - I tried viewing the webhook with a colleague's account and they were unable to see those settings.

from gu-who.

epoberezkin avatar epoberezkin commented on August 24, 2024

Yes, the full name
You're right about the hook, I thought it would be visible to all members. Easier than cron job indeed

from gu-who.

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.