Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"forbiddenRoles": "external" leads to rendering issue in side-navigation #15

Closed
MagnaFrisia90 opened this issue Jul 20, 2023 · 1 comment

Comments

@MagnaFrisia90
Copy link

MagnaFrisia90 commented Jul 20, 2023

grafik

I have inserted this code to the header.jsp:

   <script>
             window.connectionsExtension = {
               "com.hcl.connections.nav": {
               "customEntries": [
                {
                "id": "Verse",
                "name": "Verse",
                "action": "add",
                "link": "https://home.solvito.de/verse",
                "icon": "https://home.solvito.de/download/logos/verse_tiny.png",
                "order": 10000,
                "new_window": true,
                "submenu": [],
                "location": "main",
		"forbiddenRoles": "external"
                },
                {
                "id": "Meetings",
                "name": "Meetings",
                "action": "add",
                "link": "https://meetings.solvito.de/meeting",
                "icon": "https://home.solvito.de/download/logos/sametime_tiny.png",
                "order": 10001,
                "new_window": true,
                "submenu": [],
                "location": "main"
                }
            ]
        }
    }
         </script>

When you remove the "forbiddenRoles" parameter it is working fine. Github issue or HCL support case ?

Thanks in advance.

Kind regards

@caiaga
Copy link
Collaborator

caiaga commented Jul 20, 2023

Could you try setting it like the below example?

"forbiddenRoles": ["external"]

The documentation suggests it expects a string, but I think it requires an array of entries. Will update and confirm once I reviewed the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants