We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6574115 commit dfa585aCopy full SHA for dfa585a
frontend/src/components/Topics/Topic/Topic.tsx
@@ -194,12 +194,17 @@ const Topic: React.FC = () => {
194
>
195
Settings
196
</NavLink>
197
- <NavLink
+ <ActionNavLink
198
to={clusterTopicStatisticsRelativePath}
199
className={({ isActive }) => (isActive ? 'is-active' : '')}
200
+ permission={{
201
+ resource: ResourceType.TOPIC,
202
+ action: Action.ANALYSIS_VIEW,
203
+ value: topicName,
204
+ }}
205
206
Statistics
- </NavLink>
207
+ </ActionNavLink>
208
</Navbar>
209
<Suspense fallback={<PageLoader />}>
210
<Routes>
0 commit comments