Search the FirstSpirit Knowledge Base
Hello,
I have a Page template MetaData, in form I have a following syntax :
<CMS_INPUT_PERMISSION name="roles" group="WEUsers" hFill="yes">
<ACTIVITIES>
<ACTIVITY name="access">
<LANGINFOS>
<LANGINFO lang="*" label="web access"/>
<LANGINFO lang="DE" label="Web-Zugriff"/>
</LANGINFOS>
</ACTIVITY>
</ACTIVITIES>
<LANGINFOS>
<LANGINFO lang="*" label="Zugriffs-Beschränkungen" description="Bitte selektieren sie die Gruppen-Berechtigungen"/>
</LANGINFOS>
</CMS_INPUT_PERMISSION>
And I get the following error in the preview form :
de.espirit.firstspirit.service.permission.GroupNotFoundException: group 'WEUsers'
at de.espirit.firstspirit.service.permission.PermissionGuiEditor.getRoot(PermissionGuiEditor.java:104)
at de.espirit.firstspirit.service.permission.PermissionGuiEditor.getEditorComponent(PermissionGuiEditor.java:245)
at de.espirit.firstspirit.ui.gadgets.swing.legacy.GuiEditorWrappingSwingGadget.getEditorComponent(GuiEditorWrappingSwingGadget.java:424)
at de.espirit.firstspirit.ui.gadgets.swing.legacy.GuiEditorWrappingSwingGadget.getComponent(GuiEditorWrappingSwingGadget.java:401)
at de.espirit.firstspirit.ui.gadgets.swing.ValueHoldingSwingGadgetWrapper.getEditorComponent(ValueHoldingSwingGadgetWrapper.java:199)
at de.espirit.firstspirit.ui.gadgets.swing.ValueHoldingSwingGadgetWrapper.getComponent(ValueHoldingSwingGadgetWrapper.java:239)
at de.espirit.firstspirit.ui.gadgets.swing.ValueHoldingSwingGadgetMediator.getComponent(ValueHoldingSwingGadgetMediator.java:705)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetPanel.add(AggregatingSwingGadgetPanel.java:118)
at de.espirit.firstspirit.ui.gadgets.swing.module.ModuleSwingGadget$1.invoke(ModuleSwingGadget.java:54)
at de.espirit.firstspirit.ui.gadgets.swing.module.ModuleSwingGadget$1.invoke(ModuleSwingGadget.java:49)
at de.espirit.firstspirit.ui.gadgets.swing.AbstractAspectableAggregate.forEach(AbstractAspectableAggregate.java:96)
at de.espirit.firstspirit.ui.gadgets.swing.module.ModuleSwingGadget.getComponent(ModuleSwingGadget.java:48)
at de.espirit.firstspirit.ui.gadgets.swing.AggregatingSwingGadgetMediator.getComponent(AggregatingSwingGadgetMediator.java:335)
at de.espirit.firstspirit.client.gui.SwingFormView.getComponent(SwingFormView.java:195)
at de.espirit.firstspirit.client.gui.SwingMultiFormView$FormViewFacade.getComponent(SwingMultiFormView.java:887)
at de.espirit.firstspirit.client.gui.SwingMultiFormView.getComponent(SwingMultiFormView.java:237)
at de.espirit.firstspirit.client.gui.tree.store.pagestore.GomModuleView.getComponent(GomModuleView.java:187)
at de.espirit.firstspirit.client.gui.GomModulePanel.getViewComponent(GomModulePanel.java:286)
at de.espirit.firstspirit.client.gui.GomModulePanel.stateChanged(GomModulePanel.java:373)
at javax.swing.JTabbedPane.fireStateChanged(Unknown Source)
at javax.swing.JTabbedPane$ModelListener.stateChanged(Unknown Source)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
at de.espirit.firstspirit.client.gui.GomModulePanel$1.setSelectedIndex(GomModulePanel.java:127)
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(Unknown Source)
at javax.swing.plaf.synth.SynthTabbedPaneUI$1.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:132)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:116)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:109)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
So where can I add group named 'WEUsers' in FS4.2 server ?
Kind regards
Hello Aleksandar,
the groups are added in the Webmonitor - Configuration - Services - PermissionService - service.ini
In the service.ini you can define new Groups-Files (xml-files) that have to be created there as well.
Best regards
Felix
Hello Aleksandar,
the groups are added in the Webmonitor - Configuration - Services - PermissionService - service.ini
In the service.ini you can define new Groups-Files (xml-files) that have to be created there as well.
Best regards
Felix
Hello Felix,
Thank you for your response. It has been very helpful.
Kind regards,
Aleksandar