-
Notifications
You must be signed in to change notification settings - Fork 133
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
[feature/confidential-view-additional-mdm-parameters ] MDM parameters for watermark text control #1446
base: master
Are you sure you want to change the base?
Conversation
- Introduced new MDM parameters to configure watermark text - Ensures better flexibility and compliance with security policies
[WIP]confidential.text-color #ff88AA (default) ✅ confidential.text-opacity 0 (transparent) ✅ confidential.text-line-spacing 40 (default) ✅ confidential.visible-redacted-characters -1 (no redacted) ✅ confidential.text-show-user-email true (shows email) ✅ confidential.text-show-user-id true (shows user id) ✅ confidential.text-show-timestamp true (shows current timestamp) ✅ confidential.text-custom-text empty ✅ all togehter All disabled (no watermark) ✅ two of them enabled, the other two disabled (just couple of combinations) ✅ email disabled, other enabled (no email in watermark) ✅ all enabled ✅ |
(1) [WONT FIX]@hosy about the following branding parameter When it is ![]() i also checked with other usernames, and the iPhone XR iOS18.2 |
(2) [FIXED]NOTE: the following parameter list:
as Suggestion: in that edge case, printing a default string like |
(3) [FIXED]Setting the following parameters:
it's a violet color with medium opacity. That's how it looks like in the device: the color is correct, but, it's like applying different opacity values in different rows. With this violet color is easiest to appreciate than with other darker colors. Could something be done about this? iPhone XR iOS18.2 |
- add a fallback watermark message if all options were disabled via MDM - fixed duplicated watermark views (remove existing watermark view before adding a new one)
Checking commit (1) -> still reproducible. (2) -> the default is now the timestamp + email, but they are both (3) -> fixed ✅ |
Yes, but this is the server user id and this behaviour is expected
This is a fallback, if all MDM watermark texts are disabled. Otherwise no watermark text would be shown. I decided to choose timestamp + email as fallback.
Great! |
i know, a fallback is OK as suggested here. The first approach did not show a watermark when But the second, shows timestamp and email in watermark when both of them are What do you think @felix-schwarz, @DeepDiver1975? |
Maybe more a question for @solalafee |
Hi everyone, regarding the open question, as user I would expect not having an additional option In Kiteworks the user selects directly the watermark type and if selected, the respective is shown. If nothing is selected, nothing is shown. |
… will be shown, as soon as at least one MDM parameter confidential.text-show-user-email, confidential.text-show-user-id, confidential.text-show-timestamp, confidential.text-custom-text was set
@jesmrec we found a final solution: MDM parameter You can completely remove the MDM parameter |
Thanks @solalafee @hosy for the final inputs. I've changed the list of test cases to make the process according the new implementation. It works as expected, so, it's approved on my side. As i can see, this branch starts from |
…able builds in ownBrander builds
…the watermark text in pixel - changed text opacity type float to integer (MDM systems does not provide a float type) - added missing MDM parameter documentation
Description
Added MDM parameters for watermark text control.
Please use this MDM-Parameters to test the new features.
Branding.plist:
Change values for testing or remove them to test default values.
Possible values for
confidential.visible-redacted-characters
:-1
redacte text is disabled>= 0
number of redacted charectersRelated Issue
https://github.com/owncloud/enterprise/issues/7103
https://github.com/owncloud/enterprise/issues/7104
https://github.com/owncloud/enterprise/issues/7105
https://github.com/owncloud/enterprise/issues/7106
#1447
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
QA
Checks: #1446 (comment)
Reports: