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

Authentication menu #4234

Closed
TenGbps opened this Issue Oct 11, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@TenGbps

TenGbps commented Oct 11, 2017

Menu Authentication dont show when have perm to see it.

Permissions

        "roles:edit", 
        "roles:create", 
        "roles:read", 
        "roles:delete", 
        "users:tokencreate", 
        "users:rolesedit:*", 
        "users:edit:*", 
        "users:permissionsedit:*", 
        "users:list", 
        "users:tokenlist", 
        "users:create", 
        "users:passwordchange:*", 
        "users:tokenremove

The menu is hidden on dashboard.

  • Graylog Version: 2.3.1
  • Elasticsearch Version: 5.5.1
  • MongoDB Version: 2.6.12
  • Operating System: CentOS7
  • Browser version: Firefox ESR 52.4
@joschi

This comment has been minimized.

Contributor

joschi commented Oct 11, 2017

@TenGbps I'm not sure what you mean. Maybe you could add a screenshot?

@TenGbps

This comment has been minimized.

TenGbps commented Oct 11, 2017

With
"*",

allperm

With

        "roles:edit", 
        "roles:create", 
        "roles:read", 
        "roles:delete", 
        "users:tokencreate", 
        "users:rolesedit:*", 
        "users:edit:*", 
        "users:permissionsedit:*", 
        "users:list", 
        "users:tokenlist", 
        "users:create", 
        "users:passwordchange:*", 
        "users:tokenremove",

without

@joschi

This comment has been minimized.

Contributor

joschi commented Oct 11, 2017

@TenGbps In order to see the System / Authentication menu item, users require the following permissions:

  • users:list
  • roles:read

Are you sure your user has a role which includes these permissions?

{this.isAnyPermitted(this.props.permissions, ['users:list, roles:read']) &&
<LinkContainer to={Routes.SYSTEM.AUTHENTICATION.OVERVIEW}>
<MenuItem>Authentication</MenuItem>
</LinkContainer>
}

@joschi

This comment has been minimized.

Contributor

joschi commented Oct 11, 2017

Ah!

There's a typo in the permissions. It's missing the single quotes between the individual permissions.

@TenGbps Thanks for reporting this!

@joschi joschi self-assigned this Oct 11, 2017

@joschi joschi added bug web labels Oct 11, 2017

@joschi joschi added this to the 2.4.0 milestone Oct 11, 2017

joschi added a commit that referenced this issue Oct 11, 2017

@wafflebot wafflebot bot added the in progress label Oct 11, 2017

@wafflebot wafflebot bot removed the in progress label Oct 13, 2017

kroepke added a commit that referenced this issue Oct 13, 2017

kroepke added a commit that referenced this issue Oct 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment