Code Monkey home page Code Monkey logo

Comments (12)

giosakti avatar giosakti commented on August 10, 2024

I'll work on this

from gate.

ajeygore avatar ajeygore commented on August 10, 2024

from gate.

giosakti avatar giosakti commented on August 10, 2024
  • don't show active users on users autocomplete
  • button to prune all inactive members from all the groups
  • whenever job that calls the function to prune all inactive members from all the groups

for pruning, do you mean a button for admin that query and remove all inactive members on all groups, or should it be a periodic worker?

from gate.

ajeygore avatar ajeygore commented on August 10, 2024

from gate.

giosakti avatar giosakti commented on August 10, 2024

ok, I'll create that functionality & button that remove all inactive members from all groups.

As for the second scenario when we deactivate a user, he should be removed from all groups if he is deactivated for 15 days..

I will create a rake task and create a job using whenever to call that rake task every midnight. Thus in every gate deployment we should run whenever --update-crontab so that the job is added to the server's cronjobs.

from gate.

ajeygore avatar ajeygore commented on August 10, 2024

@giosakti is this done?

from gate.

giosakti avatar giosakti commented on August 10, 2024

In the end I took this approach as per your suggestion:

later - when we deactivate a user, he should be removed from all groups if he is deactivated for 15 days.

please see this PR for details: #93
the PR already merged, but we haven't turn on the cron jobs.

We have to run whenever --update-crontab on one of the box for it to be active.

from gate.

ajeygore avatar ajeygore commented on August 10, 2024

I think we should provide Include inactive user as a checkbox on UI to close it.

from gate.

giosakti avatar giosakti commented on August 10, 2024

sure, will add that

from gate.

ajeygore avatar ajeygore commented on August 10, 2024

Can we close this issue?

from gate.

giosakti avatar giosakti commented on August 10, 2024

@ajeygore
Please check #121 to solve Include inactive user as a checkbox on UI
if that is merged, we can close this

from gate.

ajeygore avatar ajeygore commented on August 10, 2024

Done with merge, will wait for build and then we should deploy today or tomorrow.

from gate.

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.