Skip to content

Abstract menus so they're extensible by other engines #131

@josepjaume

Description

@josepjaume

🎩 User Story

I can foresee the need for several engines to hook into the application menus and extend them with new sections.

A good, extensible, hookable menu should:

  • Be defined via a DSL
  • Have order defined by weights
  • Be sensible to permissions
  • Be globally registered so you can publicly hook into them from other engines

Menus like this should be used in:

  • System admin
  • Organization admin
  • Process admin

A base use case would be the "use session" menu. decidim-admin should extend it so if the user is an admin, an Administration item should appear there.

📋 Related documentation

None

🎯 Acceptance criteria

Admins see an "administration" button on the user menu.

📌 Related issues

None

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions