-
Notifications
You must be signed in to change notification settings - Fork 12k
feat: allowOutsideReadDir configuration #8852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4d90dc9
to
ed3dc72
Compare
Hi guys this PR is needed to our project https://github.com/Alfresco/alfresco-ng2-components in order to update the angular cli. |
Any news on this one? Seems that only some reviews are missing. This bug is really annoying for our project.... |
Interested in how this will get resolved as well. Wouldn't having a mono repo with common assets in an external directory be a good use case for this feature? In my case, I have Ethereum contracts in one project that needs to be compiled and then used by an admin app and a consumer app. All 3 projects are in the same mono repo at the same level. |
@eromano Could you add a warning on compilation when the configuration option is present (and error out if it's not)? The reason this check is there is so that people cannot This will be all removed in the soon future (next major), but we can make that fix in 1.7.0. |
Hi, When will this be merged? I'm in need of this change as well. Thanks. |
@hansl I have added the warning. I don't know if this PR still make sense or not. |
0a49869
to
f114bd7
Compare
+1 on this one too, we use a shared folder for assets outside of the project and pull them in through |
@hansl should I rebase it another time? or there are no intention to merge it? |
This would be a greatly appreciated feature. We have a lot of shared assets that will benefit from this. |
We are using sibling shared modules and this missing feature is a problem. Is there any known workaround in the mean time? |
Any news about this? |
Hi @eromano! This PR has merge conflicts due to recent upstream merges. |
We are okay with accepting a PR to read assets from outside the project. But this needs some work to re-base first (likely just make the change again fresh). |
Thanks for your PR. Though I'll be closing as per @alexeagle comment. Please re-open the PR when the issues are fixed and is in a mergeable state. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Load file from an external folder now fails because of this check :
An asset cannot be read from a location outside the project
Introduced by the PR:
64c6031#diff-9eb0a75e499bdadd44d6dc62218812b8
With allowOutsideOutDir property asset configuration the user can decide to allow this kind of behaviour:
it is false by default and be enabled by the user only when he knows the security risk behind this kind of decision.
See issue: #8783