Opportunity lock

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumservis
    Member
    • Sep 2019
    • 56

    Opportunity lock

    is there a way for the administrator lock the opportunity? To which no one can (except the administrator) change or add anything?
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    #2
    Hello
    there is no such feature. It's not possible for now without coding skills.

    Comment

    • sumservis
      Member
      • Sep 2019
      • 56

      #3
      Originally posted by sumservis
      is there a way for the administrator lock the opportunity? To which no one can (except the administrator) change or add anything?
      it occurred to me to make an entity as a button (next to the subscribe button) and then set all entities to be read-only when the entity is active.


      That, in my opinion, would work, wouldn't it?

      Comment

      • sumservis
        Member
        • Sep 2019
        • 56

        #4


        I created an entity (Boolean). And I'd like to control her in:

        PHP Code:
        /client/res/templates/header.tpl 
        
        PHP Code:
        ......
        <div class="page-header-column-2">
        <div class="header-buttons btn-group pull-right">
        <a href="javascript:" class="btn btn-danger action" checked="" data-name="lock">UZAMKNOUT
        </a>
        ............ 
        
        how are you doing this please I want to change the status of an entity by clicking on the button.

        Comment

        • alter
          Member
          • Apr 2018
          • 57

          #5
          Hi, yes this functionality is available, but via code - the easiest way I guess is via adding logic to the entity that would check if the user isAdmin and if any field has changed its value (and user tried to save it), it would throw an error and didnt edit anything.

          Comment

          Working...