Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide contacts to others users in contact form #6259

Closed
jimbowarrior opened this issue Aug 25, 2017 · 4 comments
Closed

Hide contacts to others users in contact form #6259

jimbowarrior opened this issue Aug 25, 2017 · 4 comments

Comments

@jimbowarrior
Copy link

jimbowarrior commented Aug 25, 2017

Hello,

Steps to reproduce

  1. log with user1
  2. click contact form
  3. user1 see all users

Expected behaviour

user1+user2 are into group1
user3 must not see user2 and user1 because user3 is into group3
We would like hide contacts from contact search form only for users into differents group.
Users can see all users registered on this server. Users should see only user in the same group.

Actual behaviour

all user can see all user even if there are in others groups

Server configuration

Operating system: Ubuntu 16.04 last update

Web server:

Apache 2.4.18

Database:

mysql 5.7.19

PHP version:

7

Nextcloud version: (see Nextcloud admin page)

12.0.2

Updated from an older Nextcloud/ownCloud or fresh install:

update from Nextcloud 10

Where did you install Nextcloud from:

from tar.gz

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:

App list

collabora online

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Enabled: - activity: 2.5.2 - bruteforcesettings: 1.0.2 - calendar: 1.5.3 - comments: 1.2.0 - dav: 1.3.0 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - richdocuments: 1.12.34 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - survey_client: 1.0.0 - systemtags: 1.2.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0

Nextcloud configuration:

Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here. 
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

"system": {
"instanceid":
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"blabla.com",
],
"datadirectory": "/nextcloudcloud1/data",
"overwrite.cli.url": "https://blablab.com",
"dbtype": "mysql",
"version": "12.0.2.0",
"dbname": "nextcloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"appstore.experimental.enabled": true,
"loglevel": 0,
"maintenance": false,
"updater.release.channel": "stable",
"theme": "",
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"filelocking.enabled": "true",
"redis": {
"host": "/var/run/redis/redis.sock",
"port": 0,
"timeout": 0
}

Are you using external storage, if yes which one: local/smb/sftp/...

nfs4

Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

all

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Regards,

@hitam4450
Copy link

I agree and support the argument!

@jimbowarrior
Copy link
Author

Same issue on fresh install

@ghost
Copy link

ghost commented Aug 25, 2017

Duplicate of #5107

@MorrisJobke
Copy link
Member

Duplicate of #5107

Correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants