on/off or restrict user to access the particular app in elixir umbrella project.

kindly someone address my issue that is, i created a elixir umbrella project(liveview) which have 10 apps in it and all apps routes are defined in an intermediate or proxy app. Now my concern is that i want to restrict myself or someone to access or hit only those apps routes which are allowed to be(which have value true may be ) and this whole configuration should be in the router.ex file… so is there plug for it or any other way to do it? remember its not about giving permission about particulat content to a user , its a matter of just on or off the particular apps route, when an particular app is off and then routes of that particular app are hit , they should throw error or something like that,