Skip to content

Commit

Permalink
Merge pull request #36 from muralibasani/user-acls
Browse files Browse the repository at this point in the history
Updating acls multiple, usernames
  • Loading branch information
muralibasani committed Aug 27, 2022
2 parents 2acba80 + 1c6dad7 commit d4dbd50
Show file tree
Hide file tree
Showing 9 changed files with 492 additions and 21 deletions.
461 changes: 461 additions & 0 deletions .idea/dbnavigator.xml

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified 3.1/docs/_static/images/RequestACL.JPG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions 3.1/docs/conf.py
Expand Up @@ -51,9 +51,9 @@
# built documents.
#
# The short X.Y version.
version = '5.0.0'
version = '5.0.3'
# The full version, including alpha/beta/rc tags.
release = '5.0.0'
release = '5.0.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
8 changes: 4 additions & 4 deletions 3.1/docs/docker/docker.rst
@@ -1,7 +1,7 @@
On Docker/Azure Cloud
=====================

Kafkawize can be run with Docker from version 5.0.0 You can download the docker images from https://hub.docker.com/u/kafkawize
Kafkawize can be run with Docker from version 5.0.3 You can download the docker images from https://hub.docker.com/u/kafkawize

Step 1 (Docker installation)
----------------------------
Expand All @@ -19,7 +19,7 @@ For Azure, make sure images are correctly defined.
version: '2'
services:
uiapi:
image: kafkawize/kw_uiapi:5.0.0
image: kafkawize/kw_uiapi:5.0.3
hostname: localhost
environment:
KAFKAWIZE_DB_STORETYPE: rdbms
Expand All @@ -30,7 +30,7 @@ For Azure, make sure images are correctly defined.
# Other settings
KAFKAWIZE_ORG_NAME: MyOrganization
KAFKAWIZE_VERSION: 5.0.0
KAFKAWIZE_VERSION: 5.0.3
# Database settings
SPRING_DATASOURCE_URL: jdbc:h2:file:./kafkawizedbos;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1;MODE=MySQL;DATABASE_TO_LOWER=TRUE;
Expand Down Expand Up @@ -63,7 +63,7 @@ Create a docker compose file(kafkawize_docker_compose_clusterapi.yml) like below
version: '2'
services:
clusterapi:
image: kafkawize/kw_clusterapi:5.0.0
image: kafkawize/kw_clusterapi:5.0.3
environment:
LOGGING_FILE: kw_clusterapi.log
ports:
Expand Down
4 changes: 2 additions & 2 deletions 3.1/docs/features/features.rst
Expand Up @@ -134,9 +134,9 @@ The below fields are required.

Acl type Producer or Consumer.

IP Addresses or SSL DN name should be provided for authorizations.
IP Addresses or SSL DN name, or username should be provided for authorizations.

Only one IP Address or one SSL should be filled.
Multiple IP addresses, or principles or usernames can be filled at once

On submission you can view your requests in Audit/My Requests., and it can be deleted if required.

Expand Down
12 changes: 6 additions & 6 deletions 3.1/docs/getting_started/getting_started.rst
@@ -1,7 +1,7 @@
Getting Started
===============

Demo 5.0.0 (Prev)
Demo 5.0.3 (Prev)
--------------

.. raw:: html
Expand All @@ -19,7 +19,7 @@ Prerequisites

1 Download Kafkawize
--------------------
Download the latest version (5.0.0) from github
Download the latest version (5.0.3) from github

https://github.com/muralibasani/kafkawize

Expand Down Expand Up @@ -51,7 +51,7 @@ This Api does the below

run
mvn clean install
generates the jar (kafkawizeclusterapi-5.0.0.jar)
generates the jar (kafkawizeclusterapi-5.0.3.jar)

5 Configure Kafkawize UI Api Application
----------------------------------------
Expand Down Expand Up @@ -113,19 +113,19 @@ Configure in application properties::

- Above scripts will create tables and insert initial set of Environments, Teams and Users which you can delete anytime from UI.

The jar (kafkawize-5.0.0.jar) is available in the downloaded bundle.
The jar (kafkawize-5.0.3.jar) is available in the downloaded bundle.

7 Run KW and KWClusterApi
-------------------------

Run::

java -jar kafkawizeclusterapi-5.0.0.jar --spring.config.location=classpath:/application.properties
java -jar kafkawizeclusterapi-5.0.3.jar --spring.config.location=classpath:/application.properties


Run::

java -jar kafkawize-5.0.0.jar --spring.config.location=classpath:/application.properties
java -jar kafkawize-5.0.3.jar --spring.config.location=classpath:/application.properties

If application is running, you can access UI from http://[host]:[port]/kafkawize

Expand Down
4 changes: 2 additions & 2 deletions 3.1/docs/migrate.rst
@@ -1,6 +1,6 @@
Migration Kafkawize from earlier versions to 5.0.0
Migration Kafkawize from earlier versions to 5.0.3
==================================================

There are several database changes to migrate from earlier versions to 5.0.0.
There are several database changes to migrate from earlier versions to 5.0.3.

Hence we suggest to drop all and recreate.
15 changes: 15 additions & 0 deletions 3.1/docs/releasenotes.rst
@@ -1,6 +1,21 @@
Release Notes
=============

- The below changes are part of release 5.0.3

- ACLs can be added based on Usernames (plain text principles). Ex : alice, john
On kafka cluster, Producer acls reflects like below for user 'alice' for a topic.
(principal=User:alice, host=*, operation=WRITE, permissionType=ALLOW)
(principal=User:alice, host=*, operation=WRITE, permissionType=ALLOW)

-----------------------------------------------------------------------------------
- The below changes are part of release 5.0.2

- Introducing Liquibase for all database migrations
- Recaptcha validation can be disabled if running in saas mode

-----------------------------------------------------------------------------------

Kafkawize 5.0.0

Topics (approval): Create, Update, Delete, Promote
Expand Down

0 comments on commit d4dbd50

Please sign in to comment.