This was over 20 years ago, but I got a job to write reports for the new IT accounting program for a private company, plus I was the system admin. Most reports were sales reports used by the marketing department.
The marketing manager was quite incompetent and a bully to her team. She told the CEO that issues from her department were due to those in her team - and every couple of months she'd fire someone to cover her tracks.
She'd set them difficult tasks and it would take a few days to create a sales report - she had them run a generic report, export to excel, then manually shuffle the data around (it would take a few hours or few days, depending on what she wanted). There would be errors in these reports as data was lost with cut and pasting, and subtotal formulas were required to be manually entered.
As I could run queries and reports straight off the new database, I could write them a new report in just minutes, that then took them 20 seconds to generate the correct data - so when I saw them working on a difficult report, I would look at how it was structured and go create it for them. It didn't take long for the marketing staff to send me new report requests. Suddenly they were getting their work done in record time.
At the same time, the CEO was pretty excited that the new system and reports program meant I could create any type of report that he wanted - so he started sending me requests. (he didn't use the program, so I would create the report, generate the data and email it to him)
The marketing manager didn't like that I was making it easier for her team to produce sales reports, so she complained to the CEO with some stupid problem. I was called into CEO's office with my manager and the marketing manager. I was told by the CEO that I was no longer to spend time on creating new reports for marketing and they would have to make do with what they had, but I also had to reduce the number of reports available for the department.
I had already been cleaning the reports up - making them more generic so one report could cover different scenarios in which the user could select options.
In defiance, I created 2 menus for the marketing department and created 2 different user groups. I assigned the marketing manager to one "user group", and gave that "user group" access to one reports menu, with less reports. I assigned the other marketing staff to the 2nd user group and gave them access to both reports menu - the 2nd menu was now hidden from the marketing manager and contained all the reports they needed - I only gave staff access after talking to them and had them promise not to use them when their manager was in the room. I also secretly did some more reports for them when required.
As I was the only system admin - I knew my secret reports menu wouldn't get discovered. Also, as I was cleaning up a lot of things in the new program, and moving a lot of other reports around, things were still a bit of a mess, so it wouldn't have been obvious I had done it on purpose.