All jobs / Frontend / web developer

Frontend / web developer interview question · 1–3 years

A member must not see 'Transfer ownership'. An admin must.

What do you implement?

The strongest answer

Hide or disable the action for UX, and return 403 from the API with a code the UI already understands

Why it works

Exactly. Both. The hide prevents confusion; the 403 prevents curl. A shared error code keeps the message kind.

What a good answer covers

Answers that fall short

Who gets asked this

More Frontend / web developer questions