{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/18246","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18246/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18246/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18246/events","html_url":"https://github.com/joomla/joomla-cms/issues/18246","id":263135167,"node_id":"MDU6SXNzdWUyNjMxMzUxNjc=","number":18246,"title":"[4.0][RFC] Relax component requirement for administration section","user":{"login":"mbabker","id":368545,"node_id":"MDQ6VXNlcjM2ODU0NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/368545?v=4","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"labels":[{"id":878880830,"node_id":"MDU6TGFiZWw4Nzg4ODA4MzA=","url":"https://api.github.com/repos/joomla/joomla-cms/labels/J4%20Issue","name":"J4 Issue","color":"f4d524","default":false},{"id":138443932,"node_id":"MDU6TGFiZWwxMzg0NDM5MzI=","url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed","default":false},{"id":31297684,"node_id":"MDU6TGFiZWwzMTI5NzY4NA==","url":"https://api.github.com/repos/joomla/joomla-cms/labels/Request%20for%20Comment","name":"Request for Comment","color":"02d7e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-05T13:58:06Z","updated_at":"2018-08-21T13:45:44Z","closed_at":null,"author_association":"MEMBER","body":"https://github.com/joomla/joomla-cms/blob/f29dfba087a266881a54ccf92892a25f4bcf71d3/libraries/src/Installer/Adapter/ComponentAdapter.php#L659-L663\r\n\r\nThe component install adapter enforces a requirement that all components have an administration section, effectively mandating that all components must have an administrative backend, which is not always true.  Just look at core's com_wrapper as an example.\r\n\r\nAs this is just an arbitrary check or decision made in the past and does not have an actual practical requirement, we should relax this check and remove the requirement for an `<administration>` tag in component XML manifests.\r\n\r\nIf it is decided that there is an actual requirement for this to be in place, then we need to fix how com_wrapper is installed in the core package because using the install API there is no way to install a component in the way that particular one is."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/414679203","html_url":"https://github.com/joomla/joomla-cms/issues/18246#issuecomment-414679203","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/18246","id":414679203,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDY3OTIwMw==","user":{"login":"mbabker","id":368545,"node_id":"MDQ6VXNlcjM2ODU0NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/368545?v=4","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T13:45:44Z","updated_at":"2018-08-21T13:45:44Z","author_association":"MEMBER","body":"> Honestly I see no use case to have a 3rd party component without any administration part.\r\n\r\nhttps://github.com/joomla-extensions/install-from-web-server is a component that is really only a frontend user interface and has a couple of config values, there's nothing to administrate in the site's backend there.  And, as demonstrated by core, there are at least two components that are entirely frontend integrations with no backend.\r\n\r\nSo while it is indeed a rather rare use case, it is a legitimate one.  I've honestly got no issue if we decide \"nope, all components have to have an admin component\", but then the core package and our exceptional components should be updated to reflect that requirement."}}
{"actor":{"display_login":"mbabker"}}