Access Permissions for instances of a subform

Is there any way to set access permissions for an instance of a subform rather than the subform as a whole? Especially for a template that has a certain number of instances saved, where only instances which have been previously saved should be access="nonInteractive" but new instances should be editable.

Like PeeJay says, a custom window controller seems the way to go. Try creating a subclass of NSWindowController, with header something like this:
#import <Cocoa/Cocoa.h>
@interface MyWindowController : NSWindowController
IBOutlet NSTextField *infoField;
-(void)setInfoText:(NSString *)str;
@end
The implementation of the setInfoText would be something like:
-(void)setInfoText:(NSString *)str{
[infoField setStringValue:str];
Create a nib file with your window in interface builder. Drop the header file for your custom window controller into the interface builder window. Set the custom class of the nib's File's Owner to MyWindowController. You can then hook up the window and infoField outlets from File's Owner to your window.
In the body of your code where you open a new info window, add something like:
MyWindowController *windowController=[[MyWindowController alloc] initWithWindowNibName:@"nameOfWindowNibFile"];
[windowController setInfoText:@"Whatever"];
[windowController showWindow:self];
If you are going to have an undetermined amount of these custom window, it might be a good idea to store the window controller instances in a mutable array, rather than retaining instance variables for each one.
Jim

Similar Messages

  • Access permissions for eps file on Mac

    I am asking this question on behalf of a friend...
    "When I create an  eps file on a mac, it only gives access to the person who created it and  it gives the everyone group no access. Is there a way to default this  so that everyone has read rights to it?
    I have other machines that do  not have to change the rights and automatically give read rights to the  everyone group by default but I am unsure where or what to change to  make this happen for this one user."

    Are you logging into a user with Administrative Privileges?
    If it is a user account that does not have adminstrative or standard privileges then this might be a problem.
    For instance a guest with sharing only.
    You set the privileges in the new accounts
    You may also have to repair the permissions using the disk utility app in the Applications>Utilities
    Or you might have to manually set the sharing to read write for a particular directory which is done with the Get Info dialog.

  • Read-only access permissions for new files/folders?

    System:
    Clean Install on new intel Xserve
    10.4.8 Server w/ Open Directory
    Windows clients can read/write completely fine...
    Clients connecting using AFP (whether Standard or Kerberos authentication) can access files, but when new files/folders are created on the server, they register as full permissions for the user who created them, but not for the rest of the group.
    The share(s) in question are set using POSIX from WGM: Full access for owner/group/everyone (changed it to this thinking it would help, but it does not). Of course, no one can make changes to a newly-created/deposited files/folders, which is just plain silly.
    I can chmod the permissions recursively from a script (which fixes the problem, of course) on a regular basis so that its not (as much of) an issue, but there is still a 5-minute lag for the script to kick in, since we don't want to bombard the server with chmod requests every minute....which is unnecessary in the first place!
    I have plenty of other setups which are identical but have no such issue...
    Any reason why POSIX permissions on the share are being ignored from every user account?
    Thanks,
    k

    "That's default posix behaviour no matter what access permissions you set on the sharepoint."
    I'm afraid this is dead wrong. What matters most is how you set permissions on the share, not if you've chosen to inherit vs. using POSIX. POSIX is still used in inherit functions, though you can use ACL's to override them. In this case, ACL's are not being used on those shares (though we tried it).
    After all, why would Apple (let alone anyone else) even offer the ability to change POSIX permissions on a share if it didn't have any effect? That would be somewhat contradictory in nature.
    Like I said before, I have several other installations which are identically setup that have no such issues.
    As for Windows, it is also not set to inherit permissions; we're setting those explicitly. And they work fine.
    Any other ideas?
    Thanks,
    k

  • Business Catalyst access permissions for different users

    Hi there,
    We want to have specific people have access to specific areas of a website we are developing and are considering using BC.
    For example:
    - Distributors will have their own section to access resources such as training manuals, videos and service agreements.
    - Service techs - will have their own section to access resources such as service manuals, instal guides etc.
    How does Business Catalyst allow different people to access different areas? Is it by:
    - Password?
    - People in the database are tagged, so they use their profile to access their own area?
    - other?
    If it is possible, could we be pointed in the direction of how to set this up?
    Thanks in advance for any help.
    Cheers,
    Andrew

    Sounds to me like Secure Zones will do this for you...
    You can create as many secure zones as you like and asign (or use registration forms) anybody to any zone. Ofcourse each zone can have it's own content, theme, etc...
    Here's a good place to start:
    http://helpx.adobe.com/business-catalyst/partner/add-secure-area-your-site.html

  • Screen size and font size unreadable to set the access permissions for Flash Player.

    I can increase my screen view size to make everything appear larger but the screen on Adobe website to manage the use of the Flash Player has very tiny writing that DOES NOT increase in size when I increase the size of my screen view.  It is not use user friendly nor compliant with common standards of web pages being accessible for people who have visual disablilities.  The font size looks like 6pt.
    What does it take to make this giant company allow the window size of the settings to be enlarged or magnified? 

    They will stay on the screen.  However, Process Monitor is only intended for advanced users.  It is recommended that users try to navigate to the troublesome registry key using regedit, and see if they can access it or not without an error.  This is far easier than trying to use Process Monitor, which is very complicated.
    I used Process Monitor to confirm that it was just that key which was causing the problem, and not others.  Process Monitor is not to be confused with the new Resource Monitor which is accessible via Task Manager in Windows 7 (and possibly Vista).  If you must experiment (and Process Monitor is very useful for diagnosing many deep-level problems if you know what you're looking for) Process Monitor can be downloaded from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    It replaces the older Sysinternals "FileMon" and "RegMon".  For those interested in the technical side, I had to setup a number of filters to be able to get the results display as in the screenshot.  First of all to just show Registry events.  Then to just show events from the manual Flash activeX installer executable.  The I added a filter to show only non-successfull results.  And finally, for the purposes of the screenshot, added a filter to just show those with "Access Denied", since other non-critical errors are also picked up due to missing keys because installation has not yet been fully completed I guess.   When experimenting, most of these filters were applied using the "is not" boolean logic, which will make sense if you experiment with the program.
    Without adding any filters, it picks up so many events (hundreds per second) that it's otherwise unusable.  e.g. 40,000 events within the first few seconds of opening the program. For this reason, I recommend simply using Regedit to diagnose the problem with the particular Flash registry key.

  • How do I give myself read/write access/permissions for my external drive?

    Im a brand new Mac user, so please stay with me.
    I have an external drive and I can't delete, modify, ANYTHING on it. When I go to "Get Info" it says "You can only read" under sharing & permissions. How do I change this?

    When you get info on the external drive, at the very bottom is a box you can check
    "Ignore ownership on this volume"...
    If you check that, then see if you can delete and move things around.
    If that doesn't work then try clicking on the + sign and adding you as an admin so you can Read & Write.

  • READWRITE VS WRITE Access Permissions - Dimension/Dataforms

    Hi,
    From what I know there are 3 types of access permissions for dimensions, dataforms etc - READ, WRITE, NONE (none is the default). I wanted to know if there is any difference between READWRITE and WRITE access permission.
    The thing is when I exported the security using the ExportSecurity.cmd utility I observed that dimensions set manually in Planning were showing READWRITE as access permission where as, those dimension/members that were given access permission using a security file were showing WRITE.
    Ofcourse in security file we did mention it as WRITE so it showed up but for dimensions set manually it was showing READWRITE - why is this difference? Is READWRITE the right way of mentioning the access permission?
    Please let me know.
    ~ Adella
    Edited by: Adella on Sep 16, 2011 6:49 AM

    The correct values to use for security import files are READ, READWRITE, or NONE as defined in the documentation - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/frameset.htm?ch03s07.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error message: There is a problem accessing one or more files in your iPhoto library. Do you want iPhoto to repair permissions for this library for you?

    I have been using iPhoto for years.  Today when I tried to upload pictures from camera, I received the above error message.  I select "Repair", enter my password, and then a message "iPhoto was unable to repair permissions for the library" appears. I select "Quit" and it closes iPhoto.  Quit is the only option.  What has happened?  I have tried to access the photos via other avenues such as uploading to gmail, and the photos load fine.  I have about 28,000 photos.
    I do not know what version of iPhoto I am using as I am unable to access the software.  I have a iMac OS X (10.7.5).  What should I do?

    Select the iPhoto application in the Applications folder and type Command+i to bring up its Info Window. There will tell the version number. If it's iPhoto 9 or later apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • [New_Feature_Requirement] [iOS 8] Detecting permissions for camera access

    Here is the feature request: Feature#3837401 - [New_Feature_Requirement] [iOS 8] Detecting permissions for camera access
    Problem: The camera privacy control is now required by iOS 8 for all regions. With iOS 8 any application that use camera encountered with a dialog asking for permission.
    http://useyourloaf.com/blog/2014/07/16/ios-8-camera-privacy-settings.html
    But we cannot detect permission for camera access by AIR.
    StatusEvent event not firing by AIR: "Note: This event is not dispatched on the AIR platform. It is used only in Flash Player."
    Camera - Adobe ActionScript® 3 (AS3 ) API Reference
    So, if user don't allow use camera our application even cannot detect that. It could make application useless. Also it could cause problems with our applications in AppStore.
    Please consider to provide some way to handle camera access. It could be StatusEvent like with Flash Player.

    "Do Not Put iOS8 on an iPhone 4S"
    http://gizmodo.com/dont-put-ios-8-on-your-iphone-4s-1635763610?utm_medium=referr al&utm_source=pulsenews

  • Permissions for Linux user accessing Leopard share

    We have a very simple networking setup at our video post production facility. Basically, files are shared everywhere and to everyone. No open directory or DNS serving. Just AFP and SMB.
    Our Linux based Smoke/Flame/Lustre system needs access to the files severed/shared by an Xserve with a big attached RAID. It has no problem connecting or seeing the files. However, it typically is denied write permissions. When the Smoke operator creates a folder on the share he can't access the folder until I grant the Others/Everyone group read and write perms. The Linux user logs in with the same user account that everyone else uses.
    Some time ago, the always smashing Gerrit DeWitt gave me some terminal commands to set ACLs for users/groups of this shared RAID. They work beautifully and I have had no permissions issues since applying them. Except for this Linux system.
    Would it be good practice to use this command to set the Everyone group permissions for this share?
    sudo chmod -R +ai "group:everyone allow readattr,readextattr,readsecurity,\
    list,search,read,execute,writeattr,writeextattr,delete,\
    append,write,deletechild,add_file,addsubdirectory,\
    fileinherit,directoryinherit" "/Volumes/RAIDH/Smoke_InfernoStorage"
    Also, is there some configuration change I could make to the Linux system to make it a little more Mac compatible in this area?
    Thanks

    It's worth checking into - let us know what you find. What you describe certainly sounds like a problem with permission propagation settings for SMB / Samba since the AFP side works fine.
    I've seen other posts about problems that crop up because of differences in the versions of Samba employed between systems, so that's a possibility as well. And I'd have no suggestions for you in that regard other than some searching of the web for clues as to how to work with that issue.
    -Doug

  • Unbootable after Permissions for "Everyone" = "No access"

    I may have done something bad. I happened to look at permissions for my main (internal) drive for my iMac, "Macintosh HD." It said that access for "Everyone" was "Read only." I thought to myself, "I don't want everyone able to read everything on my disk." I also vaguely remembered (possibly incorrectly) that I might have changed that myself in the past. So I thought I would try it set at "No access." The first bad symptom was that my laser printer stayed in a state of being paused, regardless of hitting the "Resume printer" button repeatedly. So I thought something was hung up only with printing, and I tried to reboot the computer. Unfortunately, it would not boot back up, getting hung up at the gray screen with Apple logo and “spinning Stonehenge”! It did boot up with the Mac OS X Install DVD, which saw “Macintosh HD,” so I used Disk Utility to repair the drive, which Disk Utility said was OK, and it repaired some corrections (nothing conspicuously about “Macintosh HD” as a drive). Rebooting to “Macintosh HD” still did not work! (For some reason, it would not boot into the recent version of Drive Genius DVD.) It booted into TechTool Pro 6.0.3’s DVD, which made some favorable changes to the volume structure, and it corrected some permissions. Afterward, the iMac still would not boot into “Macintosh HD.” My latest Time Machine backup is a little bit old (a week or two), and I do have newer backups of certain files on an external drive, so I could restore it via Time Machine if necessary. But I suppose I would rather undo what caused this inaccessibility, tentatively my change of the permissions because all of this happened immediately after that change, and have everything as it was yesterday. Any advice and lessons would be appreciated.

    Thanks for your quick reply. I'm not with my iMac now but will try it tonight. Regarding your solution A1: does Command-S work as Terminal, or is Terminal needed at all? Does it matter if the screen at which it is stalled is not blue (which might be the background before Users' accounts appear?)? It is a gray screen with Apple logo. I have also found the following post which gives a different solution:  https://discussions.apple.com/message/15469394#15469394 That user described the stall as similar to mine: "the gray screen of death with the perpetual wheel." That solution apparently requires use of Terminal. Can I access that via the Mac OS X Install DVD?

  • After downloading IOS5, i can't access my itune and receive the following message "The Folder "Itune" is on locked disk or you do not have write permissions for this folder", noting that i access this folder in a normal way. Any clue ?

    After downloading IOS5, i can't access my itune and receive the following message "The Folder "Itune" is on locked disk or you do not have write permissions for this folder", noting that i access this folder in a normal way. Any clue ?

    In my case its a new computer the old one was stolen and the time machine disk did not work for a restore but did for copying the info to the new mac

  • My iPhone 4 was stolen, how do i lock it permanently using a serial number for instance so nobody can use it or access my personal information, knowing that the thief knows my personal passcode.. Please help, Thanx

    My iPhone 4 was stolen, how do i lock it permanently using a serial number for instance so nobody can use it or access my personal information, knowing that the thief knows my personal passcode.. Please help, Thanx

    You cannot lock it by the serial number. Report it to your carrier and the police. You said that the thief knows your pass code. Does that mean that the thief was a personal friend who would be close enough to you to know what your code was? If that is the case, ask your friend to return your phone.

  • Thinking of purchasing Time Capsule.... Can I access my documents saved on (Home Network) Time Capsule from another Network??? For instance, I can access my documents saved on MyBookLive (which is connected to my wifi) from ANY wifi connection...

    Thinking of purchasing Time Capsule.... Can I access my documents saved on (Home Network) Time Capsule from another Network??? For instance, I can access my documents saved on MyBookLive (which is connected to my wifi) from ANY wifi connection... Like when I'm at school I can download documents stored on my MyBookLive at home.... I love this feature... But I would prefer to keep my products apple... So my question is can I access my documents from ANYWHERE with Time Capsule???
    Other products I have: MacBook (2009 limited edition it's aluminum) two iPad2 (2012) iPhone 5 (2012) two iphone4 iPod touch (2010) iPod Nano (2011)

    Remote access to TC is allowed by BTMM and iCloud service.
    Not for ipad or iphone.. only the Macbook although I think people have some work arounds..
    NOTE. Your school firewall should block it. If I was still working in network admin I would. ie you are risking the whole network to get access to files unchecked for viruses.. and please don't just say Macs don't get viruses, you can still be the source of the infection even if you don't suffer the disease. Just a carrier.
    http://support.apple.com/kb/HT3486

  • Permissions for connected SharePoint sites

    hello forum members,
    can someone please explain to me how do permissions work for connected SharePoint sites if Project Server set up to use Project permissons instead of SharePoint ?
    Another question I have is that our environment was once set to use SharePoint permissions , then changed to use Project server permission mode.  I checked on one user who could not login to Project Server and when i clicked on "Checked Permissions"
    on a ribbon - it showed that this person had full rights, but when i went to check on Project security group - he was missing there. It was very confusing.
    Does "Check Permissions" actually works when environment set up to use Project server mode permissions?
    tatiana

    On top of the very good Paul's explanation, here is what happens behind the scene:
    case 1: you assign a resource to a project task, you save and publish project:
    A hard coded job will parse assignment table and will put : 
       Project manager (MS office project synched) role to the project owner
       Team member (MS office project synched) role to resources with assignments
    In addition, 2 additional jobs will give suitable permissions to the resources part of security groups of PWA:
    1 gives access to PWA site (to access my tasks, time sheets...)
    the other one gives proper access to the resources who have dynamic rights(ie: if they are part of a PWA group that has a category, for instance, giving read to anyone who has Same RBS as project owner
    Case2: you add a resource in PWA as part of a security group
    1 job for PWA top site + 1 job for each project of server will give suitable rights to the new resource.
    Case3: you change the permissions of an existing security group (more exactly to the category set to the group )
    1 job for PWA site + 1 job by project will populate on each project site the new permissions. Mind to do that out of peak hours or you'll have a big slow down.
    Case4: you add manually permissions directly in the project site. In this case one should never add people in an synched group or rights will Be overwritten during the next project publish.
    note there are known bugs for large data set when many synch jobs stay in the queue: we can have jobs conflict and a general permissions loss.  On top of that, a sync job including people whose active directory accounts are bad (having left the company
    for instance) can block permissions syncs.... We demonstrated this fact to Microsoft and we are working on that with them...
    hope this helps 
    Jeff 

Maybe you are looking for

  • Why are my Photos disappearing?

    Here is my setup: iPhoto '11, OS X 10.6.7 Wife and I have separate OSX accounts and separate iTunes libraries.  We share an iPhoto library at users\shared\iPhoto We both have RW permissions on the library file.. This has worked fine forever.. Recentl

  • Graphics chart LEGEND not display on Form on Web.

    Sir, I am create the Chart in graphics builder 6i and call the chart from form builder 6i it runnnig fine chart and Legend are displayed. then move the chart and form to Database(apps) then run the form in ERP menu Chart Only display but LEGEND not d

  • Receiver Mail Adapter File Name

    Hi All,          I have a scenario file to Mail. The rquirment is that everytime the file is picked by the adapter a mail needs to be sent. The email should just have the file name of the file that got picked up by the file adapter but there should b

  • Using as a MP3 player

    Can the palm pre be use as a external audio source for example can I pug the phone in to my car stereo through the AUX input 3.5 mm port on the front of the head unite and if so where can I get a cable for it Post relates to: Pre p100eww (Bell) This

  • TS3297 Unable to make purchases

    I'm receiving this error message and I don't know why.  The addresses match up, but the message still comes up. "Your credit card information does not match your bank's records. Please enter a U.S. Credit card and matching billing address."