Hi Elke,
you should set the right permisson inside moduleaction so that the "edit" command only appears for peolpe with the right permission. See this example:
Public ReadOnly Property ModuleActions() As Entities.Modules.Actions.ModuleActionCollection _
Implements Entities.Modules.IActionable.ModuleActions
Get
Dim Actions As New Entities.Modules.Actions.ModuleActionCollection
Actions.Add(GetNextActionID, _
Localization.GetString(Entities.Modules.Actions.ModuleActionType.ContentOptions, LocalResourceFile), _
Entities.Modules.Actions.ModuleActionType.ContentOptions, "", "", _
EditUrl("Manage"), False, SecurityAccessLevel.Edit, True, False)
Actions.Add(GetNextActionID, _
Localization.GetString(Entities.Modules.Actions.ModuleActionType.AddContent, LocalResourceFile), _
Entities.Modules.Actions.ModuleActionType.AddContent, "", "", _
EditUrl(), False, SecurityAccessLevel.Edit, True, False)
Return Actions
End Get
End Property