I have a CQ 5.6.1 instance with the default out of the box setup for users and groups. The "Activate Later" button is not accessible to users in the content-authors group however "Activate" button works fine and kicks off the activation workflow. How can I give that group permissions to use activate later and fire off the Scheduled Activation Workflow?
I've checked and in my case the Activate Later button is accessible for a newly created user who is a member of content-authors group.
Looking into the code (libs/wcm/core/content/siteadmin/actions) these are possible causes of the disabled functionality:
lack of replicate privilege
page is locked
no page has been selected in grid
The latter two are common for Activate and Activate Later yet the replicate privilege is surprisingly checked for Activate Later functionality only.
Please make sure you have proper ACLs on the page. You can easily use CRXDE or CRX Explorer tools to validate the effective permissions.
Related
We have developed a few reports in Jasper v 6.3.0. we call these reports from a web interface we have developed. We would like to completely disable the Jasper user interface for the user/role that we have assigned these reports to.
Right now if the user strips the right hand side of the url they get a screen that allows them to see the repository, look at the reports, etc. Although as a non admin user they cannot change things we would like to disable this screen completely.
An alternative would be to disable this screen from access other than from the local server, or the local network.
What is the best way to resolve this issue?
Edit - clarification:
Basically we developed the report using ireport. and then we deploy it to JasperReportServer. We then "link" to the report on JasperReportServer from our web application. If you strip the url of everything after "/jasperserver" it displays a UI panel. I want to disable that panel.
Jasper Report generates a jasper design and this design is written a file/stream etc. I think this issue can be done in a higher level not in Jasper. When user onmouseover "link", you can control the user via ajax and if is enabled you can show the panel.
I need to create a simple Delphi application, kiosk style.
It is a very simple thing, a single form where the user writes some personal info to register to an event. 4 TEdit and a TButton.
What I want to achieve is to avoid the user does any action different then typing in TEdit or clicking on the TButton. For example I don't want he does ALT TAB (switchin applications), pressing windows key on keyboard, doing ctrl-alt-canc, etc...
I can add a passowrd protected Button that enables/disables this "Kiosk mode", in this way as I need to exit the kiosk mode I simply press that button and exit.
How to achieve this "kiosk mode" in Delphi without intercepting all the keystrokes manually? Or did anyone already develop this so it can be shared?
I think you'd better create a new desktop, and run your app in there. When your app is done, you can bring back user's desktop. That is how Windows login screen works. Of course Windows login screen uses a special secure desktop. Your app in a separate desktop would be isolated. You will have a desktop background with no start menu, taskbar, or desktop icons because explorer.exe is not running there automatically. Of course a can start a new process, using Task Manager, but desktops in Windows are securable objects; therefore, you can make restrictions if you want. Of course if your app has sufficient permissions.
To create a new desktop, you can use CreateDesktop Windows API, and to switch to the newly created desktop, you can use OpenDesktop function.
You can try Change the Windows Shell.
When you start windows, you don't execute the default shell (explorer.exe), you can execute your application.
Al internet you can find alternative Shell (more attractive) to default windows like:
BlueBox or
SharpE
This option is used for purposes similars at the application that you are developing. Kiosks or TPV.
For change the default applicacion you must modify a registry key:
In Win3.x and Win9x, SYSTEM.INI file:
[boot]
shell=MiAplicacion.exe
In Win2k and WinXP, use Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Shell=MiAplicacion.exe
If you test this option, think the mode to turn the configuration to the original value (button or option). You must reboot to test changes.
ADDED: In addition, if you search on the web some similar at this "Delphi Change default windows shell", you can find more code, samples and information about this.
Regards
P.D: Excuse me for mistakes with english.
Well but if someone can open the taskmgr he could just create a new task and run explorer.exe from there so its not really secure though...
Ok Taskmgr can be stopped with policies...
Well and for disabling the cad sequence you can use saslibex which Remko Weijnen had created you can find it here: SASLibEx
kindest regrads,
s!
I'm currently developing a custom dialog to be displayed via an Authorization Plugin, based upon the Apple example code of "NameAndPassword", which subclasses the SFAuthorizationPluginView (https://developer.apple.com/library/mac/#samplecode/NameAndPassword/Introduction/Intro.html)
From what I understand, this should allow me to provide different types of authorization / authentication, such as, for example, developing facial recognition for authentication. The problem I have is that when my dialog is launched by the authorization services, it is embedded in a parent dialog and there is additional text automatically added that states: -
"Type the name and password of the user in the "(null)" group to allow this".
After many hours searching the web, I have discovered that I can remove the "(null)" group section with an undocumented environment flag of "suggested-user" (https://devforums.apple.com/thread/180052?tstart=0)
...but text still remains prompting for a password.
In testing, I can launch other available plugin dialogs by calling from my mechanism of the rules in /etc/authorization and these dialogs do not appear to be attached to the parent dialog.
Does anyone know what I need to do to prevent the default text being displayed, or even better, how to have my dialog launched, independently from the parent dialog? Is this even possible with inheriting from SFAuthorizationPluginView?
Thanks.
I am creating a installer using WIX, The requirement here is that when the user clicks on the next button on the license agreement dialog, I want to check the Internet spped of the user. If it is less than 1 mbps, I should show a message to the user that "the internet speed is less than the minimum required by the application. Do you still want to go ahead with the Installation?" This messagebox contains two buttons "Yes" and "No". If user clicks on Yes, I continue with the Installation. On click of "No", the Installation aborts.
I think this is impossible or may be quite difficult to do it with WIX. So thought of writing a C# Application, which will check the internet speed and show the dialog to the user. I want to launch this utility to be launched in the UI Sequence. Then capture whether user clicked on Yes or No, If user clicks on Yes, i continue with the Installation otherwise Installation aborts.
Note- When user clicks either Yes or No, the C# Application closes.
How can I :
1. Embed C# App in msi
2. Launch it in UI Sequence
3. Get the user action result and proceed accordingly.
Please help, it is urgent.
First, I question the value of doing this in an installer. Internet speed is highly variable and a user is just going to click yes and proceed. Any kind of system status check should really be inside your application.
But if you really want to have a Managed Custom Action in your installer that can set a property then you want to check out Deployment Tools Foundation.
WiX and DTF: Introduction
Deployment Tools Foundation (DTF) Managed Custom Actions
How long will it take for your code to determine internet speed? If it can do it in a few seconds then you can consider scheduling the custom action between CostInitialize and InstallFinalize. The CA will set a property and then you can use that property in your UI to decide if a warnign dialog that you author should be shown or not.
Again though, I have to suggest that this isn't a good idea.
I'm developing an app that is currently sandboxed. It acts as a basic text editor. Recently, I wanted to test what happens when I open a file in my app and another app at the same time, make an update in one app, then then see the updated in the other. I'm using Coda or BBEdit as my alternative editors. If I turn off sandboxing -- then this issue does not exist. However, since apps are required to be sandboxed as of March 1, I would rather implement a solution rather than wait and see.
When I open both files and make an edit in my app and then switch to the other app, the changes are reflected so that those editors have the version just saved from my app. However, if I perform the converse of saving from their app and then moving to mine -- no joy. Without performing any action, the console reports two specific errors: deny file-issue-extension and deny file-write-data. The app appears to be losing privileges to edit the document since it was changed by an external editor after the document was opened in my app. If I try to save the file in my app, it asks to duplicate the document because it has lost access to the original document. This doesn't happen the other way around because those apps have not been sandboxed and therefor have permissions that my app does not. It also doesn't appear that you can prevent the other app from making the changes if you don't want this behavior.
The documentation on developer.apple.com mentions nothing of this type of situation. I am not sure if this is intended behavior. If it is, then I can just tell my user that the document permissions have been lost and they should either save a new version or re-open the file. If it is NOT intended behavior, then what method in the NSDocument API would grant permission to the file once it has been lost? I'm assuming the answer is the former, that this is intended, but can anyone confirm and is there documentation?
Without performing any action, the console reports two specific errors: deny file-issue-extension and deny file-write-data. The app appears to be losing privileges to edit the document since it was changed by an external editor after the document was opened in my app. If I try to save the file in my app, it asks to duplicate the document because it has lost access to the original document
The correct behavior in a situation like this is to not overwrite the file, but to prompt the user if they want to reload the document, if so reload it and then write it.
The OS is doing the right thing by not allowing a blind write over a file that has changed.
See NSFilePresenter - (void)presentedItemDidChange to see if it changed. Reread the file and then see if you can save it. You dont say you have been denied a read on the file.
Also, since you havent posted any code it might be helpful to show what code you are using to access the file and to save it. NSDocument has built in handling for some types of file changes in the sandbox.
Lets call your App ScottEdit and your competitor as StackEdit
There could be several things going on. NSDocument has a lockDocument method. StackEdit may have locked the document and did NOT unlock it after save. If you quit the app, the file should be unlocked and available for your app. If this is the case, you will need to create a notification for when the file attributes change using kqueue or another.
If the other app is "blocking" access to your app. You can send an email to that developer and ask him to update his app so it unlocks the document after save. This last step is in addition to setting up notifications because another developer may come along and do the same thing (breaking your app).