You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to check the user's permission? I actually use probot/commands to create /label, but I dont want when some random arbitrary users using those command
I have tried with context.payload.comment.user but site_admin always return to false even actually i was the owner
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there any way to check the user's permission? I actually use probot/commands to create /label, but I dont want when some random arbitrary users using those command
I have tried with
context.payload.comment.user
but site_admin always return to false even actually i was the ownerBeta Was this translation helpful? Give feedback.
All reactions