software ඉන්ජො එන්න

UserDone

Junior member
  • Mar 25, 2018
    84
    29
    18
    Oracle ERP user role-based menu show/hide කරන එක කරන්නේ.
    ඒත් මචං web-based system එකක් නම්, URL pattern එක human-friendly (ex: www.erp.com/user/{UserID}) page එකේ validation එකක් දාන්නත් වෙනවා safe side.
     
    • Like
    Reactions: bornunlucky

    imhotep

    Well-known member
  • Mar 29, 2017
    14,856
    8
    35,443
    113
    Sometimes you need to have some controls when your Business needs mandates that only certain users have the ability do some tasks. There are a few basic methods how this is done.

    1. Disabling - The controls remains visible but are inert to user input. and displayed with “grayed-out” appearance.

    2. Hiding - The controls are removed for those users.

    3. Messages - The controls are there but user input results in an error message and the input is discarded.

    Each one works well, depending on the circumstances and usually there's no standard practice per se.

    However, disabling controls has the advantage of making the UI stable. Whatever the state of the system, controls remain in the same place and displayed the same way. Thus it's easier for any user to remember things.
    OTOH hiding the controls might minimise the clutter on the page.
    Also with disabling, the user becomes aware that the control is there 'potentially available' in the system but he cannot access it due to his current permissions.

    Messaging - Error messages as the availability control is the last resort. Personally I prefer Disabling.
     

    Anonymous_Abstract

    Well-known member
  • Aug 7, 2018
    6,036
    4,570
    113
    Messier 87
    යම් user කෙනෙක්ට accounts view කරන්න permission නෑ කියල හිතන්න............................
    "Yam" eka kiyanne permission thiyena user lath inna puluwan. oka StackOverflow vala karala thiyenna adala rep gana avama role sub category karala adala task eka permission id eka okata assign karala thiyanava. obatath okama karanna puluwan. security eka 100%. Authorization handle karanna thiyenna
     

    ManjuT

    Well-known member
  • Mar 22, 2016
    1,205
    343
    83
    System eka anuwa depend wenawa.

    Anawashya dewal hide karana eka hondai. System eke anawashya dewal thibbama user confuse wenna puluwan

    Feature eka promote karanna puluwan hide nokara click karama msg ekak dunnoth. Ethakota user dannawa upgrade karoth mehema feature ekak use karannath puluwan kiyala.