I suppose that an SSH client for Conduit would mitigate this issue (T550).
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 1 2015
Let me update the description on this ticket to provide more context, I filed it real quick so that I wouldn't forget about it.
In T7412#99096, @epriestley wrote:I also think it would probably be reasonable to do this:
- If a configuration file like .arclint is not executable, read the file content to load configuration.
- If a configuration file like .arclint is executable, execute it. Read stdout to load configuration.
Not quite. The main issue I have is that the file is larger than the maximum configured size that nginx/PHP will handle. My solution in the past has been to I crease the nginx/PHP limits.
The response could also inform installs about security updates, although it might be better to put that on a different channel so we can deliver notifications in a more timely manner.
One general thought is that we could prompt administrators to confirm that they want to add members who could not otherwise join the group, or prevent their addition outright, but I believe both of these workflows are very common (e.g., on this install we have a number of projects with "Can Join: No One" and a manual membership list; construction of these projects was intentional). And users who can edit projects could always get around these restrictions, so any measure here would only prevent mistakes, not malicious actors.
I'm going to close this for now, since I think we resolved the major issues. We'll keep an ear out for users making mistakes with policies and work to clarify workflows, prevent those mistakes, and/or make them easy to undo.
I also think it would probably be reasonable to do this:
I generally don't think we should support this, and installs which have complex .arclint requirements should instead write a script which builds .arclint for them. If you want 5 files with a bunch of variables in them: write bin/rebuild-lint.py or whatever, have it merge the files and do variable replacement, and dump it to .arclint. This script is probably 10 lines long and can do exactly what your environment requires.
My general thoughts are:
Just to make sure we're on the same page, here's the expected behavior:
You can do this with arc upload. Is that sufficient?
In T7408#99038, @Mnkras wrote:Is this to get rid of deprecated functions/workarounds for older php versions or is this more of "I want to use these newer PHP functions and not worry about this old stuff and backwards compatibility"?
Potential code base changes that could be used after dropping support for PHP 5.2:
In particular, PHP 5.2 has a bunch of known security vulnerabilities.
Feb 28 2015
The only important key we have which is active outside the cluster (production host identity key) is now separated, and deployment credentials have been made fully separable. (SSL keys are also active outside the cluster, but deployed manually at the moment.) We can improve segmentation here over time, but we're in stable shape now.
This is implemented and deployed.
Basically, target 90% of the use cases with the settings panel and let Herald fill in the "I want to put email about this specific repository in a special folder, if it's an accept or reject and the author isn't in project Y" stuff.
I'd maybe want to pare down the options we have right now to simplify the UI a bit, but I imagine keeping them more or less in their current form and letting this just serve the power use cases.
Yes, but it would stop all users from ever receiving those emails, not default them off.
After some thinking about this and T6309, I'm leaning toward building Herald rules for outbound mail, so you can write proper mail rules in Phabricator if you use Gmail or some other client with a low-power client-side filter.
Thanks, D11906 should fix this.
@anton.vladimirov, what are the permissions on the /var/tmp directory?
Feb 27 2015
The workflow also fails closed (i.e., puts the application into a state where there is too little access rather than too much) and bin/policy unlock allows the mistake to be fixed relatively easily, both of which serve to reduce the importance of preventing mistakes like this. But the major issue is just that we've seen very few users make mistakes that involve locking themselves out of objects they intended to retain access to.
It's normal/expected to sometimes leave projects and be unable to see them afterward. For instance, if you're on the "Security" team and then you switch teams internally and join the "Frontend" team, you might leave the "Security" project. That might prevent you from seeing it anymore, but that's fine, and you expected that to happen when you left the project.
Because policies can be complex, we can't always prevent mistakes like that. For example, a policy may depend on some external source of truth, which changes independent of any actions in Phabricator and accidentally locks everyone out of an object.
oh right this stuff isn't in config
Pretty sure D11904 fixed this.
@btrahan's answer is more complete than mine, I omitted setting "Joinable By".
To restrict add/remove users to one person:
In particular, if users who could edit the project could not edit the membership, they could still edit the "edit membership" policy, then add themselves to it, then edit members. "Edit Project" necessarily trumps all other edit policies.
with the darkest corporate goals
we are the evilest corporation
Rainbow logo was pretty fabulous.
Yeah, repros in Safari too, we just have the wrong link happening.
Clicking "Download" is expected to set Content-Disposition: attachment and force a download. We're probably either pointing the button at the wrong place (likely) or Chrome has gone crazy and no longer permits/recognizes this (unlikely).