Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

feat(clapi): Add export / import acl option in clapi on master #5655

Merged
merged 15 commits into from
Oct 3, 2017

Conversation

loiclau
Copy link
Contributor

@loiclau loiclau commented Sep 11, 2017

No description provided.

@kduret kduret self-requested a review September 18, 2017 14:50
Copy link
Contributor

@kduret kduret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHP Fatal error: Class 'PEAR' not found in /usr/share/centreon/www/class/centreonTopology.class.php on line 63

$queryTopologyPage = 'SELECT * FROM topology WHERE topology_' . $key . ' = ?';
$stmt = $this->db->prepare($queryTopologyPage);
$dbresult = $this->db->execute($stmt, array($value));
if (PEAR::isError($dbresult)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use PEAR in centreon 2.9.x

Copy link
Contributor

@kduret kduret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I export following acl menu :

image

And then, import thses acl menu, I have this result :

image

@loiclau loiclau force-pushed the clapi-exportacl-master branch from 1b485f3 to be69834 Compare September 26, 2017 13:00
@ganoze ganoze merged commit 9865bc2 into master Oct 3, 2017
@ganoze ganoze deleted the clapi-exportacl-master branch October 3, 2017 09:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants