Recently a researcher shared on Twitter
I've reached that stage as a supervisor where the students have the idea, do the math, write the code, run experiments, draft the paper and I contribute by fixing the formatting errors in their bibliography files.
If this is the case, should the supervisor be on the author list? Or, on the acknowledgments? If the supervisor contribution is just small suggestion to the redaction of the paper and that she/he gained the grant paying the student, is this enough to become an author?