Hey everybody,
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Mar 1 2015
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?
This problem is more relevant now that project tags and search suggestions point to workboards by default, instead of the default project page as before.
I vote for it.
For Namespaces, that is a huge undertaking, you basically scrap the current autoloading, probably go with a PSR-4 autoloader, and add namespaces and "use" to a bunch of files at once.
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:
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"?
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.
Is this in addition to the options we already have, or will all email/notification settings go through Herald as a replacement?
Yes, but it would stop all users from ever receiving those emails, not default them off.
So does this let admins, say build a Global rule for no commit emails?
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.
Just adding my thoughts.
(swap in newer clients). This will get pushed out Monday.
I think we're going to update the list and ...
After D11050 and rPf33e2de09286 what work remains to be done to provide this? I'd love to see this completed.
These have been updated, but will likely continue to get more content as we go. Complete as far as "launchable" is concerned.
Thanks, D11906 should fix this.
administrator@ubuntu:/phabricator/phabricator$ ll /var/tmp/
total 12
drwxrwxrwt 3 root root 4096 Feb 27 18:32 ./
drwxr-xr-x 14 root root 4096 Oct 24 18:31 ../
drwxrwxr-x 4 phd-user phd-user 4096 Oct 23 14:46 phd/
haha, thanks @joshuaspence
@anton.vladimirov this should have been resolved by the commits here, not sure what more information you can give us why that didn't occur.
@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.
I'm not sure what external sources are used, but I understand the concept.
Confirmed.
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.
Using the "editable by" policy does achieve the desired effect of having a "project admin", sorry I was not aware that it could work in this way.
Great, @btrahan's suggestion seems to work great; however, I still think it is odd that members can be added without signing a #Legalpad.
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".
This is mostly possible today by