Announcement

Collapse
No announcement yet.

Global action handler with acl on portal user detail view

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Global action handler with acl on portal user detail view

    Espo version: 8.2.2, 8.1.5
    Espo log: clear
    Browser console: attachment

    Steps:
    1. Define global action handler clientDefs/Global.json
    Code:
        "menu":{
            "detail":{
                "buttons": [
                    "__APPEND__",
                    {
                        "name": "bookmarking",
                        "action": "bookmarking",
                        "label": "\uD83D\uDD16",
                        "hidden": false,
                        "acl": "read",
                        "data": {
                            "handler": "favorite"
                        }
                    }
    ]}}
    ​
    2. Go to portal user detail view - error

    If remove "acl" key - all ok.

    In the other view also all ok with "acl" key.

    It’s not critical, because if the user gets to and reads the card, then he has reading rights, but if access like editing rights is needed, it’s worse.
    Attached Files

  • #2
    I'll fix. Not sure how yet.

    Comment

    Working...
    X