gerrit/java/com/google/gerrit/server/restapi
Changcheng Xiao d7990904e4 Remove current_user predicates
The result of a submittability check should not depend on the user who
is asking for it. If administrators want to make a distinction on who
should be allowed to submit a change, they can use permissions to do so.

This is especially true for the submit rule that would enforce that only
change owners can submit a change. This can be achieved by using the
change owners group in a permission rule.

More discussions can be found at:
https://groups.google.com/forum/#!msg/repo-discuss/vW6XhUOkqik/Ea4pco6vlCQJ

Change-Id: I73b370bdd4e9729365e8daac3f1a8a7b155ffc4d
2018-02-16 14:04:01 +00:00
..
access Move remaining REST handlers into restapi subpackage 2018-01-08 15:45:52 +01:00
account Use ExternalId.isValidUsername instead of ExternalId.USER_NAME_PATTERN_REGEX 2018-02-09 14:50:07 +01:00
change Remove current_user predicates 2018-02-16 14:04:01 +00:00
config Rename PreferencesConfig/WatchConfig to Preferences/ProjectWatches 2018-01-19 10:52:27 +01:00
group Use ExternalId.isValidUsername instead of ExternalId.USER_NAME_PATTERN_REGEX 2018-02-09 14:50:07 +01:00
project Merge "In /PROJECT/check.access, warn when there are no branches." 2018-02-07 12:43:07 +00:00
BUILD Move remaining REST handlers into restapi subpackage 2018-01-08 15:45:52 +01:00