Redmine::Plugin.register :ldap_config do name 'LDAP Config' author 'System Admin' description 'Web-based LDAP configuration plugin for Redmine' version '1.0.0' url 'https://github.com/example/ldap_config' author_url 'https://example.com' # Admin menu menu :admin_menu, :ldap_config, { controller: 'ldap_config', action: 'index' }, caption: 'LDAP Config', html: { class: 'icon icon-server-authentication' }, after: :ldap_authentication end