permissions

Facebooker new permission dialog

Facebook has recently changed its data permission policy to allow developers to ask multiple permission on one screen. I was wondering if this is supported at all for a canvas app running in Facebook with Facebooker. I found this solution for Facebook Connect apps : http://stackoverflow.com/questions/2526940/facebooker-extended-permiss...

Addressing multiple access conditions for a menu?

I'm in the middle of implementing permissions on a multi-level tabbed/dropdown menu navigation setup. Is there a better method to implementing permissions compared to wrapping each menu item in an if statement? User permissions are stored in a table and pulled in to an array, there are 10 menu items and each menu item has numerous sub-m...

Facebook connect extended permission seems to have issues

Simply, I've been struggling for 5 days now with facebook api trying to get the user email, bday, about me, etc.. data. I searched online dozen of times, and went through several facebook developer wiki pages but with no hope of finding a solution. The problem is that I've added the below connect button script, and after a successful lo...

Merge two (or more) arrays and keep values that are highest?

I've got a permissions/group based setup that I'm trying to merge results on. For example, a user might be associated with four groups: | username | passwd | email | groups | | test_user | 9agb9 | [email protected] | g1, g2, g3, g4 | grouping table: | group | perm1 | perm2 | perm3 | perm4 | perm5 | perm5 | perm7 | | g1 ...

Sharepoint 2007: granting edit permissions to "Assigned To" user in a task list

Hi, I've recently begun developing for sharepoint. I've just written an event receiver for a task list in order to grant edit permissions for the item to the user who is entered in the assigned to field. Unfortunately my code doesn't work, and I think, I've also found the reason. The list grants by default contribute rights to all use...

Database access control: Application or Database level control?

I have been developing an application in Access 2003 that uses SQL Server as the back end data store. Access is used only as a GUI and does not store any data. All the code in the application is written in VBA using ADO for data access. In recent meetings the DBA that works in my organization has become increasingly concerned over the f...

Error TF218027 when creating a Team Project in TFS 2010

Consider the scenario of a user creating a new Team Project. The user is a developer who wants to create and manage their Team Project. Why can't this user create a new Team Project, including the Reporting Services components? What can be done to resolve this error? The exception is TF218027: the following reporting folder could...

How to configure an existing git repo to be shared by a UNIX group

I have an existing git repo (a bare one) which has up to this point only been writable by me. I want to open it up to some UNIX user group, foo, so that all members of foo can push to it. I'm aware that I can easily set up a new git repo with: git init --bare --shared=group repodir chgrp -R foo repodir But I need the equivalent oper...

Selective Forbidden error

Hi, I am experiencing a weird problem. I have a contact form written in php, in several computers the page works without any problems, but in two specific computers, as i send the form i get a 403 error. even weirder is, if the form isn't filled correctly, it doesn't give me the 403. I gave every folder and file that might be related...

git pull: permission denied

hi, I created a repository in my desktop and push to github, then clone that repository to my laptop to make development, later committed the changes and push to github. now back to my desktop, i tried 'git pull' to get all the changed i made, it showed the error message: Permission denied (publickey) fatal: The remote end hung up unex...

Administrator receives PermissionDenied error when issuing get-childitem in Powershell

I am trying to backup a drive from a laptop that is defunct. This drive was pulled from the machine and mounted in an external enclosure and connected to a desktop via USB. Laptop that the drive was pulled from is Windows 7 Pro, and the desktop I connected the laptop drive to is Windows 7 Ultimate. I am running PowerShell on the deskto...

.htaccess for preventing direct access/linking to a folder

So I have this one folder that stores all the confidential excel files in it. I dont want people to be able to link/access to it directly, but I have a link on my web site that allows the enables authorized users to download their files from the data. This is what I have RewriteEngine on RewriteBase / RewriteCond %{HTTP_REFERER} !^$ R...

Getting "execute" permission for an area of memory

I am using C++, and would like to get the permission to execute on an area of memory. Is there a way I can do this? Right now when I just try to execute it, I get an access violation error. ...

Why does GetMachineStoreForAssembly() use different directories sometimes?

I've got an assembly in my framework, the purpose of which is to manage some data common to several applications that I am building. The assembly uses isolated storage to persist the data. The assembly itself happens to be a command-line .exe application and it can be executed directly as a tool to examine and make changes to the data....

Asp - only localhost can access shared drive

I'm migrating a legacy asp application onto a windows 2003 server. It access files on the lan which is where the problem lies. The user id is a domain account id so for anonymous access i have entered the domain\iusr_machinename. This works fine when running it locally, the log file shows it running as localhost, but when i try from anot...

MySQL permission denied from local but can connect remotely

I am trying to connect to my mysql database on a remote server (via ssh) through the command: mysql -u me -h mydomain.com -p But it fails with a ERROR 1045 (28000): Access denied for user.. error While mysql -u me -h localhost -p Works Now this isn't just because I have not setup permissions, because the permissions to this data...

How to load image in a directory different than NSBundle ?

hi, SUPER HARD QUESTION Here is my projet: I use 3000 jpegs in an iPhone Project. In a normal situation, the 3000 files are loaded in the 'NSBundle' (encapsulated with the App) and then load on the iPhone. The problem is the app is around 500 Mo. So i'd like to copy the images in a different directory ('Documents' for example) t...

Is it possible to get the status of extended permissions for a Facebook app with the Graph or REST API?

I want to check the status of the extended permissions for a user of my Facebook app. I don't want to request permissions, I just want to know what permissions they have already granted access to. Is this possible? I'm happy to use the Graph or REST API to do this in PHP or JS. ...

Bad to Grant reload permission in mysql?

Because of a problem i had with mysql i need to use flush. I discovered the user cannot use flush without the reload permission. and to give it to him my syntax was grant reload on *.* to 'webapp_wt'@'localhost'; I couldnt do specific_db.*. And granting this kind of permission doesnt feel right. Is there anything wrong with this? Is ...

Check views display permission for user

A user might be in role X. There exist a view, where display A is allowed for role X while display B is restricted. How do i programmatically check whether a user belonging to role X can access the display or not? ...