permissions

How to create a Plone 4 group who's sole purpose is to manage users?

怎甘沉沦 提交于 2020-01-04 09:10:08
问题 I'm trying to set up a Plone group ( Plone 4.0.7 ) that will be responsible purely for creating and amending users. I don't want them to have full admin access to the site, purely to the Users and Groups functionality. I have created a role in my.package/profiles/default/rolemap.xml like so: <role name="Maintain Users" /> and then added a permission thus: <permission name="Manage users" acquire="false"> <role name="Maintain Users" /> <role name="Manager" /> </permission> In my.package

How to create a Plone 4 group who's sole purpose is to manage users?

本秂侑毒 提交于 2020-01-04 09:08:07
问题 I'm trying to set up a Plone group ( Plone 4.0.7 ) that will be responsible purely for creating and amending users. I don't want them to have full admin access to the site, purely to the Users and Groups functionality. I have created a role in my.package/profiles/default/rolemap.xml like so: <role name="Maintain Users" /> and then added a permission thus: <permission name="Manage users" acquire="false"> <role name="Maintain Users" /> <role name="Manager" /> </permission> In my.package

Permission for session directory

笑着哭i 提交于 2020-01-04 06:55:12
问题 I am facing an issue with my server that php session is not able to store data. Now, I changed my session directory permission to 777. Can any one confirm that this permission is correct and secure? 回答1: As user prehfeldt said, "correct and secure" depends on the context. The important thing is that as I understand from your question, you have customized the directory where php sessions are saved. This is a good practice, especially if you are on shared hosting. Since the sessions directory

Android: IOException: Permission denied

我只是一个虾纸丫 提交于 2020-01-04 06:31:30
问题 I'm creating/saving file on SD card. This is the code: File sdDir = Environment.getExternalStorageDirectory(); public void btnsave_clicked(View v) throws FileNotFoundException, IOException{ File f; f=new File(sdDir, "deposit.dma"); if(!f.exists()) f.createNewFile(); ... } But when I click the button, it throws "Permission denied". Don't ask me for add uses-permission. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> I've already added this in Manifest. What should I

Facebook api: show dialog window for the user select page (manage_pages extendend perm)

馋奶兔 提交于 2020-01-04 05:57:46
问题 I want ny users to give ny app "manage_pages" extended pemission but i want my users to be able to select which of their pages they give permission to. I have this code which is responsible to autenticate and get the users permissions: $('#btn-connect-facebook').click(function(){ FB.login(function(response) { if (response.session) { if (response.perms) { -> //new popup window for select which page it gives permissions// //window.location = (...) // redirect to php page } else { alert("You

Facebook api: show dialog window for the user select page (manage_pages extendend perm)

你离开我真会死。 提交于 2020-01-04 05:57:14
问题 I want ny users to give ny app "manage_pages" extended pemission but i want my users to be able to select which of their pages they give permission to. I have this code which is responsible to autenticate and get the users permissions: $('#btn-connect-facebook').click(function(){ FB.login(function(response) { if (response.session) { if (response.perms) { -> //new popup window for select which page it gives permissions// //window.location = (...) // redirect to php page } else { alert("You

Neither user 10051 nor current process has android.permission.INSTALL_PACKAGES

旧城冷巷雨未停 提交于 2020-01-04 04:23:26
问题 My project has a problem of Silent Installation. my project need the permission "android.permission.INSTALL_PACKAGES" ,but the permission is system permission. How to use this permission? error: java.lang.SecurityException: Neither user 10051 nor current process has android.permission.INSTALL_PACKAGES. My AndroidManifest.xml has added uses-permission android:name="android.permission.INSTALL_PACKAGES" 回答1: This permission is only given to system apps. In order to get this permission, your app:

UWP access denied

本秂侑毒 提交于 2020-01-04 04:22:13
问题 Basically, I am having huge difficulty getting a text file to open by my UWP app. I have set the app permissions to be able to access files in 'my documents' and other options of known libraries like 'my pictures' but any attempt to open a file not located in these places is met by an 'Access Denied' error. From trawling the internet I know this is a known issue and has been asked a few times, but all threads seem to lead to the conclusion that you simply cannot access these files without

How to check if a Windows file is readable/writable?

孤街浪徒 提交于 2020-01-03 20:05:10
问题 First off: I know that this isn't reliable for actually checking if I can write. I'm writing a file transfer client, and want feature parity between the "remote" and "local" file browser panes. I fully understand I will have to handle any permission related exceptions for any operation performed regardless; it's not a programming check it's just to display to the user. I've seen several examples for these posted, but everything I've tried either wasn't understandable or didn't work. I've

How to check if a Windows file is readable/writable?

此生再无相见时 提交于 2020-01-03 20:04:11
问题 First off: I know that this isn't reliable for actually checking if I can write. I'm writing a file transfer client, and want feature parity between the "remote" and "local" file browser panes. I fully understand I will have to handle any permission related exceptions for any operation performed regardless; it's not a programming check it's just to display to the user. I've seen several examples for these posted, but everything I've tried either wasn't understandable or didn't work. I've