The business requirement says that the PDF cannot be printed.
I looked up the doc of cfreport, and it says for format="pdf", there is a permissions attribute that I can set to a list of permissions including AllowPrinting.
However, setting permissions="" does not take away the printing permission. I checked by Right Cick on Adobe Reader browser plugin -> Document Property -> Security, it says Printing: Allowed"
How do I disable printing? Thanks.
Found out in the doc of CFPDF that encryption attribute must be set before it respects permissions attribute!
Related
refer to this link we integrated CustomPermissionClaimHandler to our server without any errors but still we can't get the permissions of the users... I know how to create custom claims refer to this link and if I follow these 2 links' steps, I can create permission field like a textbox as shown on picture (testClaim and organizationID are examples about that from picture)... I thought that after integrating CustomPermissionClaimHandler I would see permissions like Role field as shown on picture with blue line but still it comes with empty textbox as shown on picture with green line. Is there any way to get the permissions?
EDIT: I can get JWT including my custom claims and if I decode it I see like this (as you see it doesn't contain permissions):
By looking at the JWT response, I can say you have done either or both of the following.
It seems there is a mistake in the guide of configuring the application-authentication extension.
If you have added,
[authentication.framework.extensions]
claim_handler="com.wso2.sample.claim.handler.CustomClaimHandler"
in to the deployment.toml, but you use the jar by building the code, there is a mismatch in the package name. You have to use the following config.
[authentication.framework.extensions]
claim_handler="org.wso2.custom.claim.PermissionClaimHandler"
Because of this configuration issue, your custom handler may not get executed even though that service got activated properly.
If the claim handler is active and the configuration is correct as step one, you might have missed something when mapping the custom claim to an oidc claim / adding it as an OIDC sope / configuring service provider claims
at Home -> Entitlement -> PAP -Policy Administration -> Basic XACML Editor
Error: The Action tools icon does not show any choices (just a blank field), its empty. This happens on a fresh install of the server.
The same type of error also happens at "User Role" selection, a text field
named "Enter Attribute Search Pattern" which shows a blank value.
I expected here to see a pre filled value like "http://hostname/claims/role" as shown in the screen-copy of the example described in article, here:
http://xacmlinfo.org/2012/05/02/xacml-policy-editor-in-wso2-identity-server/
Please send an updated instruction for use of the Basic Policy Editor
on WSO2 identity server Version 5 showing an example how to define and configure a basic XACML rule.
Thanks in advance for your support.
Below as attachment, you see a hardcopy of the issue at the WSO2 Standard Editor when using Attributes from the Extension section.
Enclosure: Policy Editor Customization
I am using wso2 IS 4.5.0. I recently modified the standard policy editor so as to use a new attribute but the modification doesn't seem to work. Specifically, when I select the attribute and hit Search, the attribute finder returns the message:
No entitlement data finder module is defined for this category
Has anyone an idea on how to resolve this? thanks in advance,
Maria
Yes.... It is the expected behavior with default implementation. Let me explain this further; Attributes are retrieved to this UI page, using an pluggable entitlement data finder modules. These modules can be plugged with WSO2IS. Attribute sources can be from databases, user stores or any... Default implementation is only retrieved roles from WSO2IS user store. But, if you want more to show in this UI, You can do it by extending default implementations. Please find the source fore default implementation from here. This would help you to get some idea.
I delete the defualt home node and create another node called Home Page. And when I type http://[instance name] sitecore gives me an error shows that no layout found. ![enter image description here][1]
I can us the page editor and page content normally. But when i type the http://[instance name]in the browser, it doesn't show the default page. Why?
I am just a fresh in Sitecore, please be more specific.
Error:The layout for the requested document
was not found.
Most likely causes:
The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
What you can try:
Go back to the previous page
Go to the start page
More information
I usually hit this issue when I have a fresh install and haven't done a publish yet. Publishing gets the master and web in sync, and given that your Page Editor experience is fine it seems like your Master is in good state but Web is not.
It could be that your new Home node doesn't have a layout attached to it. If you log on to Sitecore's Content Editor and go to the Presentation tab -> Details, do you see anything assigned to the Default device?
If you do, it might be because you still need to publish your changes. If you don't, try attaching the layouts (there's some sample layouts as well that come with Sitecore to check if that's the issue).
Do the checks that Trayek suggests, but also check if your site definition and hostname are set correctly in the /app_config/include/sites.config (or directly in the web.config, however this it not the recommended way) to make sure you have attached the correct instancename to your site root.
Furthermore, switch in the Sitecore client to the web database and check the assigned presentation on your home item, it might be a publishing issue.
Is it possible that you have the wrong "startItem" parameter in your site configuration? You have to set it to the correct item that should be visible wenn entered without an url (/)
I suppose you should check the Web.Config configuration tag.
Please check, in there, there are startitem attibutes for various sites in there. change them to your startItem and try it out.
Hope this helps!
Do let us know -- whether it works or not.
Regards,
Varun Shringarpure
I have a user who's been assigned the sitecore/Analytics Reporting role (member of Sitecore Client Users), and when I log in with that user I can see Marketing Center, Engagement Analytics and Executive Dashboard. I now want to give this user read access to a content item, but I can't make it work.
First of all, the sitecore/Analytics Reporting role already has read access to the content editor etc (inherited from the Everyone role), so why can't I see it? I created another role with explicit read access to the content item and assigned it to the same user, but I still can't see it. Does anyone know what I need to do for the user to see the content item?
I seen this a few times before with older Sitecore versions. Doing a Sitecore cache clear or IIS reset resolved it at that time.
After checking with Sitecore support they told me you have to add Sitecore Client Designer to your role (even though the Access Viewer shows you have read access you still won't be able to see it until you've added this role).