Skip to content

Commit

Permalink
#23 using kibana_user for user access to space (does not work with
Browse files Browse the repository at this point in the history
kibana_admin)
  • Loading branch information
laurentmldev committed May 9, 2020
1 parent b0761c8 commit 11db54c
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 26 deletions.
36 changes: 14 additions & 22 deletions doc/TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,37 @@
Priority 1:
-----------

#20 test usage statistics emails

FTP server port increments all when creating a new catalog
stop FTP servers when app is destroyed

#31 define and prepare deployement tests
- send test email statistics

Fields: multi shall be visible only if enum is not empty

when updating WAR file, userdata contents is deleted

FTP server
- port increments all when creating a new catalog
- stop FTP servers when app is destroyed
- FTP server with fewer debug messages
- FTP server "quota exceeded" message when upload refused or add dummy file "ATTENTION_QUOTA_EXCEEDED.txt" in userdata folder

#31 define and prepare deployement tests

when delete catalog failed because of Kibana, page is not refreshed while it should be
filter references in edit mode : stop propagation

when creating a second new perpective, unable to create a new field, have to reload page

filter references in edit mode : stop propagation
Priority 2:
-----------

Fields: multi shall be visible only if enum is not empty
when switch in/out edit mode : shall stay in current tab
when creating a second new perpective, unable to create a new field, have to reload page

browse FTP via firefox ask for a password at every folder move


when delete catalog failed because of Kibana, page is not refreshed while it should be

Priority 2:
-----------

FTP server with fewer debug messages
FTP server "quota exceeded" message when upload refused

Terms and Conditions presentation and acceptation on first login

renaming a perspective actually duplicates it
search on accentuated characters imported from UTF-16 does not seem to work
#19 send email to users and admin when useful

#23 avoid use of kibana_admin user once ELK issue 51759 us fixed
#23 avoid use of kibana_user user once ELK issue 51759 us fixed


#14 check user inputs : ensure no special nor space characters and are not empty
Expand Down Expand Up @@ -96,7 +88,7 @@ Backlog:
Done:
-----
waiting message when creating a catalog
#20 test usage statistics emails
#17 helps texts in french and english
#30 secure access to catalog's files
Fix double'//' in URL prefix
Expand Down
2 changes: 1 addition & 1 deletion doc/archi/tests/.~lock.tests_definition.ods#
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Laurent ML,laurentml,macbook-pro-de-admin-1.home,09.05.2020 16:56,file:///Users/laurentml/Library/Application%20Support/OpenOffice/4;
Laurent ML,laurentml,macbook-pro-de-admin-1.home,09.05.2020 18:15,file:///Users/laurentml/Library/Application%20Support/OpenOffice/4;
Binary file modified doc/archi/tests/tests_definition.ods
Binary file not shown.
2 changes: 2 additions & 0 deletions src/main/java/metaindex/data/catalog/CatalogFtpServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ public FtpletResult beforeCommand(FtpSession arg0, FtpRequest arg1) throws FtpEx
(
arg1.getCommand().equals("OPTS")
|| arg1.getCommand().equals("FEAT")
|| arg1.getCommand().equals("PASV")
|| arg1.getCommand().equals("MDTM")
|| arg1.getCommand().equals("PBSZ")
|| arg1.getCommand().equals("PROT")
|| arg1.getCommand().equals("TYPE")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ public Boolean createOrUpdateCatalogStatisticsUser(IUserProfileData activeUser)

if (activeUser.getRole()==USER_ROLE.ROLE_OBSERVER) { rolesList.add("kibana_dashboard_only_user"); }
// issue #23
// kibana_admin gives rights to configure the 'Kibana' app including deleting all spaces
// kibana_user gives rights to configure the 'Kibana' app including deleting all spaces
// but is necessary for proper use of Kibana for now
// (see elasticsearch issue https://github.com/elastic/kibana/issues/51759)
else { rolesList.add("kibana_admin"); }
else { rolesList.add("kibana_user"); }

for (Integer catId : activeUser.getUserCatalogsIds()) {
ICatalog c = Globals.Get().getCatalogsMgr().getCatalog(catId);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/metaindex.properties
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ mx.mailer.password=secret
mx.mailer.admin_recipient=[email protected]

# statistics config
mx.statistics.update_period_sec=30
mx.statistics.update_period_sec=99999999

0 comments on commit 11db54c

Please sign in to comment.