cookpad / kuroko2

Kuroko2 is a web-based job scheduler / workflow engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

read-only user

hatappi opened this issue · comments

Hello.

I'm using kuroko2 with team.

The team has directors and engineers.
The engineer changes the setting of kuroko2, but the director only sees the execution situation.
Therefore, I want to make the director read-only.

However, current kuroko2 doesn't have authority management.

Is the function of authority management scheduled?

@hatappi

There is no plan to support authority management. Reasons are

  • A user who is not the same team may operate jobs in our cases. (ie. SRE enginners)
  • High cost to management authority for each user by admin.

If directors just grasp the job situation, How about using Email or Slack notification or Webhook?
Of course patches welcome (But I don't want to adopt full authority management. I welcome a different approach).

@eisuke
Thank you for reply.

I understood the reason.

For example, how about creating a plugin?
I'm thinking about creating a function that user make read only.

Kuroko2 already supports extending application controller. (I'm sorry, it is not documented.)

You can add the callback method like that Read-Only user is allowed GET request only.
How about this way?

It’s a great way.
I'll try.

Thank you so much.