Skip to content

Commit

Permalink
fix: conflict issues (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-gupta-ij authored Sep 5, 2023
1 parent b0326dd commit 02ca0f9
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/components/Navbar/rolesHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,6 @@ const writerAccess = ["Ingest", "Query", "ListStream", "GetSchema", "GetStats",
const readerAccess = ["Query", "ListStream", "GetSchema", "GetStats", "GetRetention", "GetAlert"]


const adminAccess = [
'Ingest',
'Query',
'CreateStream',
'ListStream',
'GetSchema',
'GetStats',
'DeleteStream',
'GetRetention',
'PutRetention',
'PutAlert',
'GetAlert',
'PutUser',
'ListUser',
'DeleteUser',
'PutRoles',
'GetRole',
];
const editorAccess = [
'Ingest',
'Query',
'CreateStream',
'ListStream',
'GetSchema',
'GetStats',
'GetRetention',
'PutRetention',
'PutAlert',
'GetAlert',
];
const writerAccess = ['Ingest', 'Query', 'ListStream', 'GetSchema', 'GetStats', 'GetRetention', 'PutAlert', 'GetAlert'];
const readerAccess = ['Query', 'ListStream', 'GetSchema', 'GetStats', 'GetRetention', 'GetAlert'];

const getStreamsSepcificAccess = (rolesWithRoleName: object[], stream: string) => {
let access: string[] = [];
let roles: any[] = [];
Expand Down

0 comments on commit 02ca0f9

Please sign in to comment.