create stream through UI in new auth model is not working

Description

Now in the new auth model, user need ADMIN privilege to create the stream and WRITE privilege to send event to the stream. If someone with only ADMIN privilege tries to create the stream through UI(without uploading any data), UI seems to make a creation call and a send event call to the backend. We will have this message showed: "Principal 'Principal{name='alice', type=USER, kerberosPrincipal=null}' is not authorized to perform action 'WRITE' on entity 'stream:test.testStream'". But if you refresh the page, the stream is created. If you do the creation through cli, we will see "Successfully created stream with ID 'testStream'".

Release Notes

None

Activity

Show:

Ajai NarayananAugust 22, 2017 at 5:40 AM

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created August 16, 2017 at 6:04 PM
Updated September 12, 2017 at 5:57 PM
Resolved August 22, 2017 at 9:24 PM