user in an existing application implementation/roles

I was instructed to implement roles and users in an existing application that has very little support for them. I've done this before and I have already implemented the user aspect (pretty painless, in fact).

The current problem is implementation of roles. I need to put in place a system in which the roles are used to determine several things:

  • the pages visible by a given user
  • If a control on a page is visible
  • If a control is editable
  • If a datagrid column is viewable (and even printable)

The best way I can think to do is to create an admin page that creates roles with view, edit and print permission to the controls and access to the pages (files mxml, modules and components, etc.). 'Non technical' SME Admins have probably need to change/add roles in the future.

I have several questions about this:

  • Is there a better way to do this in Flex 3.2 / CF 8? Keep in mind that hearth States already in use for other things and management by adding views does not have the abliity to add/modify roles later and would at least triple the code base.
  • Is there a way to generate a list of mxml controls on a page and display - dynamically if if it's going to do more harm than just lists of coding by hand?
  • I can't upgrade the SDK or "radical" changes (e.g.: spend money)

thoughts and ideas?

Well, after chewing on it for a while, I don't think a list generated automatically the control ID would be preferable.

It would be OK for a list of control IDS in a database, but it has the potential to upset the rules of engagement, if changes are made and were not intentionally. for example: you add a delete button and forget to turn it off for a certain group, and the data has been deleted inadvertently database.

I could add a button analysis on an admin page for the ID command initial and periodic updating, but probably not. It would not work after that code is compiled in any case.

I'm going to do it based on the ID of specific controls and add controls to the basis of the list a manual process to do at each iteration. It is not that big of a deal anyway, as the features of the application are mature. the changes requested at the moment are more about happens to see what control and edit fields.

Tags: Flex

Similar Questions

  • Newly generated user preferences delete existing application COD.

    Hello people,

    I would like your help on a problem which I am facing right now.

    I have a Blackberry world app that stores user as themes preferences, language, etc. pertaining to the user on the application on their Blackberry.

    Recently, I updated my app and changed one of the java files and added new Java file and genrated COD

    I'm tryingt to OTA update on the existing app then unzipped the gall of COD big and generated to other small COD, also updated the file JAD in the version #.

    But now I keep on running in the following scenario, when I try to install a newer version of my application through on the existing app OTA process, it removes the user preferences can acts like a new installation again, instead of just updating the application.

    PS: - The name of the app, the seller, the rest of description that even in version only Midlet JAD was changed.

    Kindly help me gurrus.

    Thank you for the help...

    Kind regards

    Developer of BB.

    You need to store something in the persistent store... What's - what exactly?

  • Extension of context Menu of existing applications

    Hello

    Is it possible to create an application that allows to extend the context menu of existing applications.

    for example to extend the popup browser so that if a user selects a word in a browser tab, a custom menu option will be visible that allows the user to perform actions on the selected word, expression etc...

    Or even more generic if any word/phrase is selected the custom menu option becomes visible.

    If the user selects the custom menu option, the application is launched to handle this action.

    Is this possible in webworks?

    Native API?

    Thanx, h.

    N °

  • IPM. The weblogic user does not exist in the policy store

    We cannot connect to the MPI with the error: the weblogic user does not exist in the policy store.

    I updated COE field to add the Capture and Imaging.

    We have 11.1.1.8 patched with more late installed environment

    Related to the AD and SSO configured (kerberos)

    Providers are:

    SSO - provider WebLogic negotiate identity Assertion

    OrangeAD - provider that performs LDAP authentication

    DefaultAuthenticator - WebLogic authentication provider

    DefaultIdentityAsserter - provider of assertion of identity WebLogic

    Control for OrangeAD and DefaultAuthenticator flag is SUFFICIENT

    There is no problem with Capture (include SSO)

    Refreshment of the IPM security not solved the problem

    In the discussion that I found said that weblogic user must be added to the provider (AD in my case):

    https://community.Oracle.com/thread/2615536

    Should I do this?

    Is that it can be cause of problems for rest UCM, Capture, Admin servers?

    Thank you

    Leon

    Let me explain here:

    The link that you pointed out only responds by me

    Connection IPM problems

    By default, the WebCenter JpsProvider calls / user role API to retrieve a list of roles that a user is a member. API/user role Gets a list of roles from the leading provider of authentication and ignores other authentication providers.

    The Weblogic jps can be configured so that the user/role API goes against all configured authentication providers. This by adding a property, virtualize and it's true

    From the Enterprise Manager domain

    1. in a browser, go to the page of Weblogic Enterprise Manager

    The URL will usually be something like: http://YourDomainSystem:7001 / em

    2 expand Weblogic domain

    3 right-click the field, and then select security--> security provider Configuration

    4. click on the box to extend the identity store provider.

    5. click on the button set up

    6. in the custom properties, click the Add button.

    7. in the name of property filed enter: virtualize

    8. in the value field, enter: true

    9. click on the OK button

    10 restart the Weblogic Admin Server and the server managed by WCC

    Please find below the Agency's response all risks

    http://www.Ateam-Oracle.com/WebCenter-content-imaging-and-multiple-identity-providers-the-virtualization-issue/

    Thank you

    Ranjan

  • Get value connection user in the Fusion Applications to use it in the definition of work.

    I have a working definition of custom applications of fusion that it contains a string attribute (textbox).

    Is it possible to load into this text box, any value of the user logged in fusion applications? UID, email, user name, etc..

    My last goal is to load a default value for a LOV according to this value, but I need to know how I can get it.

    You create the functionality of JDeveloper, it's you set VO? If so for more information of the current user, you can optionally use SecurityContext, however your condition seems to be to get details about any user? For more complex needs, I think that you could possibly use OPSS user and role API, however note that this may require a bit of configuration and the permissions granted to your code to be allowed access to the API. There are also a few HCM tables available that could potentially use, see REL for more information on the tables PER_USERS, PER_ROLES_DN etc...

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • I have published my new folio to an existing application on the app store and made public, but is not in the app store? The notify button does not always take me back to the Organizer screen producer folio.

    I have published my new folio to an existing application on the app store and made public, but is not in the app store? The notify button does not always take me back to the Organizer screen producer folio.

    Hello

    first of all a new folio you post of DPS, the folio will not appear in the App Store, but in the library of the application.

    If this is not the case:

    1 make sure that you have published the folio under the same account that you used to create the Viewer.

    2 - Make sure that you have used a product ID unique for this folio

    3. If the Notify button does not work, note that this feature is available for viewers of enabled notification

    Check whether or not you have the Notification turned on in the dashboard section, otherwise it is likely that this account is not the Application role are entrusted to him... which brings back us to the point #1

  • Can extend us the years of no.of to an existing application.

    Peer Hai,

    (1) I use Hyperion11.1.1.3 can extend us the years of no.of to an existing application.

    (2) I know use the Standard calendar, but how can we use custom calendar and the calendar is set manually, what are their purpose.

    How can I create a periodic weekly application. I'm new to HFM can someone explain to me.

    Sorry, let me clarify start menu and file locations for you.

    On the Windows computer with HFM App Server installed:

    Start--> all programs--> Oracle EPM system--> financial management--> Utilities--> year upgrade

    The location of the file should be:

    \EPMSystem11R1\products\FinancialManagement\Utilities\FMChangeNumberOfYearsForApp.exe (or FMChangeNumberOfYearsForApp_x64.exe)

    example: C:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Utilities\FMChangeNumberOfYearsForApp_x64.exe

    If she is not there, maybe the version your have does not include it again? (I have 11.1.2.1) If she is not there, you can:

    a.) log in to the oracle support (support.oracle.com), then find the item of data by another user in this thread
    (b) download the components for HFM App Server to a version that has the utility (i.e. 11.1.2.1) and extract compressed files. [Probably not recommended unless you are comfortable dealing with files from archive, etc.]

  • user in fact exist

    Hello
    I use express authentication applications.
    I want to know if the user who logs on exists or not. How can I get this info.
    I looked in apex_util api. What is the way to do it?

    Second, once I did know that the user does not exist, I want to add this user.
    How this can be done?

    Thank you
    Laba

    You are on the right track, with apex_util.

    http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/apex_util.htm#CHDBEEHG

    i.e.

    declare
    
      l_user_id NUMBER;
    
    begin
      l_user_id := apex_util.get_user_id(p_username => 'TRENT');
      if l_user_id is null then --user doesnt exist
        dbms_output.put_line('null');
      end if;
    
    end;
    

    An alternative is to use a view of the apex.

    select count(*)
    from APEX_WORKSPACE_APEX_USERS
    where user_name = 'TRENT'
    

    Create the user with apex_util.create_user

    http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/apex_util.htm#insertedID12

    Van
    Trent

  • How can I add an existing application from my phone to my Apple Watch?

    I would like to add an existing application from my phone to my Apple Watch. Is this possible?

    Hello

    Apple Watch can install applications that State "offers Apple Watch app for iPhone" in their descriptions in iTunes and the App Store.

    See, for example, dark sky information:

    - https://itunes.apple.com/gb/app/dark-sky-hyperlocal-weather/id517329357?mt=8

    To see which applications already installed on your iPhone can also be installed on your watch:

    -On your iPhone, in the application of Eve, go to: My Watch (tab) > scroll down to see the list of apps > for everything that you want to add to your watch, press the name of the application, and then enable the setting for "Show App on Apple Watch" > allow a few moments for the application to install.

  • How to get the alert or deducted to the admin if the user AD installation of application in the domain system?

    How to get the alert or deducted to the admin if the user AD installation of application in the domain system?

    Hello

    I suggest you according to the question in this forum and check if that helps:

    http://social.technet.Microsoft.com/forums/en-us/winserverDS

    It will be useful.

  • In Vista, application data file paths are not displayed properly, example C:\users\skywatcher\appdata\local\application data\application data\application data\application data\application data\

    I have a problem with a directory of the user.

    The path is C:\users\skywatcher\appdata\local\application data.

    Application directory data are hidden.  However, by using the command "dir / ah" will show the directory as a 'carrefour '.

    The problem is that this directory is the directory even inside himself to the seemingly infinite nesting.

    in other words.

    C:\users\skywatcher\appdata\local\application data\application data\application data\application data\application data\ etc. until that the path cannot be displayed below.

    A problem with an app I'm trying to run it.

    Y at - it a cure?

    Thank you

    These nested application data files contain any data?  If so, is it the same as that contained in the original folder?

    I would like to treat this situation as a corrupt user profile.  To fix this use http://windows.microsoft.com/en-AU/windows-vista/Fix-a-corrupted-user-profile.  If that is the only available Administrator Profile (you need to be an administrator to fix this), enable the Hidden Administrator Account (HAA) using http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?&lang=en&cr=US&guid=&sloc=en-us&dg=microsoft.public.windows.vista.administration_accounts_passwords&p=1&tid=d20f9db4-7b2c-48be-a087-7835dc2a9055&mid=d20f9db4-7b2c-48be-a087-7835dc2a9055.  If you don't remember the password, try nothing because that's probably what you (or seller) did during the installation.  Once that is done, don't forget to disable the HAA to save it in case it is necessary once again and for safety reasons (since people often try to hack into systems using this account).  Do NOT use the HAA as your administrator account because if you lose the only administrator on the system account or it is damaged again, then you're watered.

    When he is in the process of copy on the old profile files and folders, I first copy the folder of Application data to another location, just in case the change it causes unexpected problems - just make a copy and put it in your Documents folder for now (you can remove it later if everything works as expected). Remove the nested application data folders (unless they contain information are not not in the main folder - then I would probably copy it in the main folder, and then delete).  This, so that there is only one Application data folder.  Then copy it to the new profile.  You may have problems to access these records.  If Yes, click on properties, advanced security and check if all the user has denied access.  If so delete this entry and you should be able to work with the folder.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Porting an existing application from the PlayBook to BB10

    I have a question Portage.  I think I'm ready to download an App from App World.  Please let me know if I missed a step.  Here's what I did with an existing application of the PlayBook - I downloaded and installed the "BlackBerry 10 SDK for Adobe AIR beta 3" in my Flash Builder.  Also, I requested, received and installed the new code signing for the BlackBerry PlayBook OS, BlackBerry 10 and upper keys.  I recompiled the program with the new SDK BB10 and the new code signing keys. The program works well on my PlayBook and in the emulator.  I guess that everything that I have to do now is download the app on App World.  Who is?

    Why the new signing keys? If it's just an another update of an existing application to the PlayBook, you must use the same keys.
    Did you use an icon of 150 x 150 and redo your screens of the new device size slash?
    You resize the goods correctly for the increase of almost 2 x the pixel density?

  • Prevent the user from uninstalling the application

    Hi friends I want to prevent the user from uninstalling the application on my mobile phone blackberry if I give how do I do it and how to fix this inaccessblity thanks to programming, I mean putting prevention in the form of mobile etc.

    BES policies can ensure that an application is not deleted.  Sorry should have mentioned that.

    Installation of OS 5, I've mentioned is:

    CodeModuleListener

    This will get called when a module is removed or marked for deletion.  Code here could probably try to download and re - install an application removed, however, it is a signed interface, so I'm sure that RIM could quickly find developers who have tried to use this interface for dubious means.

    You are however correct Ted, because it won't stop someone wiping their Blackberry.  In addition, if you remove the application that would be re - install itself, then it's history anyway.

    I think that the advantages of using this method to tidy, after a deletion (for example delete associated files on the SD card) makes a worthwhile addition to the API.

  • Can I put my starter to windows 7 home Premium using the full retail disk Home premium without losing existing applications

    I live in Indonesia and I have a netbook with windows 7 starter. I want to upgrade my windows 7 starter edition to windows 7 Home Edition premium, unfortunately I can't buy the key upgrade of the microsoft store using anytime upgrade, since I have no billing address in the United States.

    If I buy a disc of sale retail of windows 7 Home premium in Indonesia and use it to upgrade my netbook, is it possible to keep all my existing applications and creating?

    Thank you.

    Go to a computer store in your country and buy a license retail of Windows 7 Home Premium upgrade (one in a box). Then use the product key that comes with as well as the upgrade wizard level Express Windows 7 Starter upgrade to Windows 7 Home Premium.

  • Image of page template ADF JAR file not updated in existing applications

    JDeveloper 11.1.2.4.0

    We have a jar of page templates (2 models) and a company logo (png file) that is added to all of our ADF applications ViewController project.  Models include an active image that references the logo. I've updated the JAR file to include a third model of the page and update the company logo image file.

    Changes work properly when you add the POT to a new application:

    Create a new application.

    Add the JAR of update for ViewController project.

    Create the view in the workflow (all three models are available: selected new model)

    Run the built-in page Weblogic Server.

    Page appears in the browser and the new logo is displayed.

    When you try to add changes to an existing application, the new model is available, but the logo is not updated:

    Open an existing application.

    Updating of the library of the ADF in the ViewController project

    Creates a new view in the workflow (all three models are available: selected new model)

    Run the built-in page Weblogic Server.

    Page appears in the browser and the old logo is displayed.

    I need to know how to get the new logo appears on the pages of an existing application.

    Have you tried to clear the cache of the browser?

    Timo

Maybe you are looking for