umbraco-current-user-action

Implement Umbraco backoffice current user actions with links, execute handlers, and modals.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/1k-off/umbraco-observability-playground --skill umbraco-current-user-action-1k-off
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-current-user-action
Source: https://github.com/1k-off/umbraco-observability-playground/tree/main/.agents/skills/umbraco-current-user-action
Command: npx skills add https://github.com/1k-off/umbraco-observability-playground --skill umbraco-current-user-action-1k-off

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you add custom “current user” actions to the Umbraco backoffice so logged-in users get relevant shortcuts like profile options, preferences, or admin-only workflows.

Core Features & Use Cases

  • Backoffice menu actions: Create entries in the user avatar menu that execute logic or navigate users to a URL.
  • Link, execute, or modal flows: Implement actions that either return an href, run an execute() handler, or open a backoffice modal for richer interaction.
  • Conditional visibility: Show actions only when conditions match (for example, permissions or user roles), keeping the UI clean and secure.

Quick Start

Ask the AI to implement an Umbraco current user action called “User Preferences” that opens a settings modal for the logged-in user and only appears for the appropriate permission.

Frequently Asked Questions about umbraco-current-user-action

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add custom actions to the Umbraco backoffice user menu?

To add custom Umbraco backoffice user menu actions, you generate a currentUserAction manifest and a controller implementing getHref() and execute() per UmbCurrentUserAction. This allows you to add navigation links, execute server-side logic, or open modal dialogs for authenticated users.

Can I conditionally show current user actions in Umbraco based on permissions?

Yes, you can apply conditional visibility to Umbraco current user actions. By setting conditions in the currentUserAction manifest, actions appear in the backoffice user menu only when specific permissions or user roles match, keeping the UI clean and secure.

What is the difference between getHref and execute in Umbraco currentUserAction?

In Umbraco currentUserAction, getHref() returns a URL for navigation, while execute() runs custom server-side action logic. You can also use these methods to open backoffice modal dialogs, providing either direct navigation or interactive workflows for the logged-in user.

How do I open a modal dialog from the Umbraco user avatar menu?

To open a modal dialog from the Umbraco user avatar menu, implement a current user action with a controller that triggers a backoffice modal. You need to generate a currentUserAction manifest and use the execute() handler to initiate the modal interaction for richer user workflows.

Do I need TypeScript to implement Umbraco backoffice extensions?

Yes, TypeScript is required to implement Umbraco current user actions. You must generate a currentUserAction manifest and a TypeScript controller implementing the UmbCurrentUserAction interface methods, including getHref() and execute(), to properly register the extension.

How do I verify the latest Umbraco extension registry requirements for current user actions?

To verify Umbraco extension registry requirements for current user actions, use WebFetch to confirm the latest foundation requirements. This ensures your currentUserAction manifest and controller implementations align with the current Umbraco backoffice extension API standards.