868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
067a4cbb1 Migration stuff in progress...
b1560ca43 Migration stuff in progress...
868d6abb7
2025 -> 2026868d6abb75cd191a892911ac8e45058932cf9074
diff --git a/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
index 51be793ea..d4750f337 100644
--- a/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
+++ b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
@@ -3,7 +3,7 @@
// Project ProjectForge Community Edition
// www.projectforge.org
//
-// Copyright (C) 2001-2025 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2026 Micromata GmbH, Germany (www.micromata.com)
//
// ProjectForge is dual-licensed.
//
63081666f
Source file headers: 2024-> 2025.63081666f620fb87315f01b817e560e0b2f6a33a
diff --git a/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
index aa3fd4b28..51be793ea 100644
--- a/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
+++ b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
@@ -3,7 +3,7 @@
// Project ProjectForge Community Edition
// www.projectforge.org
//
-// Copyright (C) 2001-2024 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2025 Micromata GmbH, Germany (www.micromata.com)
//
// ProjectForge is dual-licensed.
//
067a4cbb1
Migration stuff in progress...067a4cbb1c60d6028ac753559602f46db9c528ec
diff --git a/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
index 864bab409..aa3fd4b28 100644
--- a/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
+++ b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
@@ -20,6 +20,7 @@
// with this program; if not, see http://www.gnu.org/licenses/.
//
/////////////////////////////////////////////////////////////////////////////
+
package org.projectforge.plugins.memo
import org.hibernate.search.mapper.pojo.bridge.mapping.annotation.TypeBinderRef
b1560ca43
Migration stuff in progress...b1560ca43fb013bd67533c390e674f647ec34627
diff --git a/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
new file mode 100644
index 000000000..864bab409
--- /dev/null
+++ b/plugins/org.projectforge.plugins.memo/src/main/kotlin/org/projectforge/plugins/memo/MemoPluginUserRightId.kt
@@ -0,0 +1,56 @@
+/////////////////////////////////////////////////////////////////////////////
+//
+// Project ProjectForge Community Edition
+// www.projectforge.org
+//
+// Copyright (C) 2001-2024 Micromata GmbH, Germany (www.micromata.com)
+//
+// ProjectForge is dual-licensed.
+//
+// This community edition is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as published
+// by the Free Software Foundation; version 3 of the License.
+//
+// This community edition is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+// Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this program; if not, see http://www.gnu.org/licenses/.
+//
+/////////////////////////////////////////////////////////////////////////////
+package org.projectforge.plugins.memo
+
+import org.hibernate.search.mapper.pojo.bridge.mapping.annotation.TypeBinderRef
+import org.hibernate.search.mapper.pojo.mapping.definition.annotation.Indexed
+import org.hibernate.search.mapper.pojo.mapping.definition.annotation.TypeBinding
+import org.projectforge.business.user.HibernateSearchUserRightIdTypeBinder
+import org.projectforge.framework.persistence.api.IUserRightId
+import org.projectforge.framework.persistence.api.RightRightIdProviderService
+import java.util.*
+
+@Indexed
+@TypeBinding(binder = TypeBinderRef(type = HibernateSearchUserRightIdTypeBinder::class))
+enum class MemoPluginUserRightId
+/**
+ * @param id Must be unique (including all plugins).
+ * @param orderString For displaying the rights in e. g. UserEditPage in the correct order.
+ * @param i18nKey
+ */(override val id: String, override val orderString: String, override val i18nKey: String) : IUserRightId {
+ PLUGIN_MEMO("PLUGIN_MEMO", "plugin20", "plugins.memo.memo");
+
+ class ProviderService : RightRightIdProviderService {
+ override fun getUserRightIds(): Collection<IUserRightId> {
+ return Arrays.asList<IUserRightId>(*entries.toTypedArray())
+ }
+ }
+
+ override fun toString(): String {
+ return id.toString()
+ }
+
+ override fun compareTo(o: IUserRightId?): Int {