TodoPluginUserRightId.ktPLUGIN_TODO user right for the To-Do plugin. Implements IUserRightId and integrates with Hibernate Search for full-text indexing of access rights.This enum implements the IUserRightId interface, which is the standard mechanism for declaring access-right identifiers in ProjectForge. Each enum constant has:
id — a globally unique string identifier ("PLUGIN_TODO")orderString — controls display order in the admin UI ("plugin10")i18nKey — points to the i18n key for the right's label ("plugins.todo.todo")The inner ProviderService class extends RightRightIdProviderService, which is itself a ServiceLoader-registered class (see META-INF/services/) that the framework scans to discover all user-right definitions. The @TypeBinding annotation with HibernateSearchUserRightIdTypeBinder ensures that user rights assigned via this enum are indexed in the Hibernate Search full-text index, enabling permission-aware search filtering.
The class hierarchy is: TodoPluginUserRightId → implements IUserRightId (extends Comparable). The framework collects all IUserRightId implementations across all plugins and core modules, then registers them in the admin user-right configuration pages. The To-Do plugin contributes exactly one right: PLUGIN_TODO, which grants access to to-do list functionality.
868d6abb7 2025 -> 2026\n63081666f Source file headers: 2024-> 2025.\n067a4cbb1 Migration stuff in progress...\nb1560ca43 Migration stuff in progress...\ne33c8b9c2 Migration stuff in progress...