[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1100.0. "Can unprivileged users change File Search Order?" by KAOFS::R_OBAS () Wed Jul 22 1992 16:58

 Hello,
    
    How can ALL-IN-1 allow non-priviledge users to change the FILE-SEARCH-
  ORDER ? (CM SCE MEO MC)
  The customer created an application area and would like to allow users to
  change the search order but non-priviledge users are unable to do so.
  Users have either APP flag set to P or A . Is there a way around this
    without granting (special ?) priviledges to users ?
    
    Thanks for any help,
    ricardo
    
    
    
     
     
T.RTitleUserPersonal
Name
DateLines
1100.1OAINI.SCP? A good place to set OA$FILE_SEARCH_ORDERVITARA::REDMONDThoughts of an Idle MindWed Jul 22 1992 17:228
    GET OA$FILE_SEARCH_ORDER = list of directories?  Do this in an
    OAINI.SCP.
    
    Maybe something like:
    
    .FX .IF OA$PROFIL_PRVAPP EQS "" THEN GET OA$FILE_SEARCH_ORDER = ...
    
    Tony
1100.3A WarningCESARE::EIJSAll in 1 PieceThu Jul 23 1992 10:1712
    
    Hi Ricardo,
    
    .1 Is the solution. However, if you talk about 'non-privileged user'
    does this mean that they have 'PRVXOWN' also set to 'N'? If this the
    case, .1 will not work as OA$FILE_SEARCH_ORDER suddenly becomes a
    Read-only symbol. I've mentioned this before in one of the former
    notes, but I'm still looking for an easy workaround.
    
    Ciao,
    
    	Simon
1100.5KAOFS::R_OBASMon Jul 27 1992 23:297
    
     Hello,
       The PRVXOWN is set to "N". He's hoping for workaround without allowing
    any priviledges to users. I guess he'll just have to wait.
    
    regards,
    ricardo
1100.6Suggestions for applicationsCESARE::EIJSAll in 1 PieceTue Oct 13 1992 14:4453
    
    Hi,

    Several notes have already explained what the PRVXOWN field will do so
    a little wrapup:

    The field PRVXOWN is introduced to prevent users from calling own forms 
    (e.g. USER.FLB) and procedures from directories which are not referred 
    to by an Executive logical. One of these logicals is OAUSER, but also 
    OA$TEMP.
    
    Another feature of PRVXOWN is that, if set to 'N', the symbol 
    OA$FILE_SEARCH_ORDER will change from Read/Write to Read-only. This 
    means that a procedure like OAINI.SCP, which is frequently used to 
    modify this symbol (amongst many other tasks), cannot be used to do 
    this once this field is set to 'N'.
    
    All changes (including the changes for PRVUDPFNC and PRVUDPCMD) are 
    made to comply with the new security enhancements.
    
    To facilitate this the following changes have been made:
    
    	- All Scripts, Boilerplates are included in the TXL
    	- The Script and Boilerplate directories are closed for the world
    	- OA.BLI changed to make OA$FILE_SEARCH_ORDER Read-only
    	- The symbol OA$FORM_SEARCH_ORDER is still Read/Write but will 
          ignore form libraries which reside in directories not referred to 
          by a Executive logical
    
    We suggest to apply the following 'rules' to applications:
    
    	- All Scripts (DO and SCRIPT) and Boilerplates should be put in the 
          TXL
    	- Make sure form libraries reside in directories referred to by 
          Executive logicals
    	- All other procedures called from Forms and Scripts/Commands 
          should include a directory reference (Executive), preferable a 
          search list (like OA$LIB:) so that Site elements are called 
          before Base elements
    	- Avoid any change to the OA$FILE_SEARCH_ORDER from OAINI.SCP
    	
    If the suggestions given cannot be applied than it should be documented 
    that the PRVXOWN field should be set to 'Y' to prevent the application 
    from not functioning properly.
    
    Hope this gives an answer.
    
    Ciao,
    
    	Simon
    
    
    PS A bit late, but...
1100.7KAOFS::R_OBASbLuE jAYs kNoWS ALL-IN-1Tue Oct 13 1992 18:308
    
     Hello,
        I gave the suggestion in .6 to the customer. It still does not
    solve their problem (according to the customer) because they do not
    want to set the PRVXOWN to "Y".
    He's happy though that he is getting a feedback on this problem.
    
    ricardo
1100.8Let's back up and ask whyA1VAX::BARTHShun the frumious BandersnatchWed Oct 14 1992 17:0919
    It sounds like the answer is "allow your users the privilege to change
    OA$FILE_SEARCH_ORDER - that privilege is PRVXOWN."
    
    And the customer is saying, "Give me a way to change
    OA$FILE_SEARCH_ORDER without the privilege to do it."
    
    :^)
    
    Perhaps you could explain it to the customer that PRVXOWN is required
    for changing of the OA$FILE_SEARCH_ORDER.  
    
    An alternative solution, though, may be to look at WHY the customer
    thinks he needs to change the search order.  If the application is
    "live" and everything is in the TXL and FLCs, etc, then is it really
    necessary to munge the search order?
    
    OK, it isn't an answer.  But perhaps it may help to get to one.
    
    ~K.