We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1535bdc commit 531788cCopy full SHA for 531788c
src/permission/fs_permission.cc
@@ -173,15 +173,13 @@ bool FSPermission::is_granted(Environment* env,
173
return allow_all_in_;
174
}
175
return !deny_all_in_ &&
176
- (allow_all_in_ ||
177
- is_tree_granted(env, &granted_in_fs_, param));
+ (allow_all_in_ || is_tree_granted(env, &granted_in_fs_, param));
178
case PermissionScope::kFileSystemWrite:
179
if (param.empty()) {
180
return allow_all_out_;
181
182
return !deny_all_out_ &&
183
- (allow_all_out_ ||
184
- is_tree_granted(env, &granted_out_fs_, param));
+ (allow_all_out_ || is_tree_granted(env, &granted_out_fs_, param));
185
default:
186
return false;
187
0 commit comments