-
Notifications
You must be signed in to change notification settings - Fork 11
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
Preview attachments for consumer/enterprise #2137
Comments
https://flowcrypt.com/docs/technical/enterprise/configuration/client-configuration.html It should be discussed. Based on #1682 (comment), we should use
|
The description of the client configuration doesn't say anything about this only being applicable to |
@sosnovsky (copy @tomholub) For now For example, if if |
As I understood, there should be only
|
Based on #1828 non-enterprise users could have enabled preview functionality for all cases. I mean we can allow consumer users to have preview functionality for all cases. But if |
Ah, I see, then logic with look like this, right?
|
Yup, you are right. What do you think about this logic? Can we use it? |
Yes, looks good, let's use it |
in case the client configuration docs are less clear then this, please take this chance to update them. |
yes, docs should be updated as currently they say |
To be honest I don't understand why we have to apply any configuration to the consumer version. Please look at this address flowcrypt.com/docs/technical/ENTERPRISE/configuration/client-configuration.html. The address name says that it relates to the enterprise version. |
"enterprise" vs "consumer" app build "enterprise" vs "consumer" configuration / environment Client configurations are for enterprises, but they apply equally to enterprise app builds and consumer app builds, because enterprise app builds are difficult to deploy, and not every enterprise wants to run FES (FES being required is the biggest difference between enterprise build and consumer build). consumer app in consumer environment - allowed The URL says enterprise because client configuration is meant for enterprise customers. But it applies to enterprise and consumer apps equally, because some enterprises use consumer apps. |
Now I see. In that case, it makes sense. No questions )) |
@tomholub Can we add a tiny change to the documentation? The main changes:
OLD
NEW
|
Sure, but the text has to be improved a bit maybe, you can check with Roma on things like this. |
What about a bit shorter documentation text:
|
@sosnovsky looks good to me. Please open a separate issue to update docs in the right repo. |
Done - https://github.com/FlowCrypt/flowcrypt-web/issues/1064 |
* Added using Content app if 'RESTRICT_ANDROID_ATTACHMENT_HANDLING' is present. Refactored code.| #2137 * Enabled previewing attachments for all users.| #2137 * Refactored code.| #2137 * Modified MessageDetailsEkmFlowTest.| #2137 * Modified MessageDetailsFlowTest.testStandardMsgPlaintextWithOneAttachment().| #2137 * Fixed a few bugs.| #2137
I think there should probably be no difference between consumer and enterprise here.
If
RESTRICT_ANDROID_ATTACHMENT_HANDLING
is present, apply restrictions, else don't apply restrictions, regardless of build.We can file a separate issue for this to discuss the behavior in more detail.
Originally posted by @tomholub in #2123 (comment)
The text was updated successfully, but these errors were encountered: