Pierre Goiffon
e3e8b25cfc
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# core/dbobject.class.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
# pages/UI.php
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2023-11-15 15:31:56 +01:00
Pierre Goiffon
c955fe00b7
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# core/coreexception.class.inc.php
# core/userrights.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# tests/php-unit-tests/README.md
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2023-11-15 15:03:04 +01:00
Pierre Goiffon
5a43448644
N°6458 Security hardening
2023-11-15 11:14:07 +01:00
Molkobain
08d22219f4
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2023-11-08 14:59:56 +01:00
Molkobain
8a3d81c430
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2023-11-08 14:59:06 +01:00
Anne-Catherine
83a70daf68
N°6887 - Fix excessive OQL requests to display user's grant matrix ( #564 )
...
* N°6887 - Fix excessive OQL requests to display user's grant matrix
* N°6887 - Rename variable and add PHPDoc
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-11-08 14:57:28 +01:00
Romain Quetiez
73fd0b06b2
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# tests/php-unit-tests/integration-tests/DictionariesConsistencyTest.php
# tests/php-unit-tests/src/BaseTestCase/ItopTestCase.php
# tests/php-unit-tests/unitary-tests/core/CMDBSource/TransactionsTest.php
# tests/php-unit-tests/unitary-tests/sources/Application/TwigBase/Twig/TwigTest.php
2023-10-27 14:12:06 +02:00
Romain Quetiez
d6415042ae
✅ Optimize tests execution time (no need for process isolation as long as we leave the premises clean)
2023-10-26 21:10:07 +02:00
Molkobain
12dbd0ed3d
N°6482 - Fix URP_UserProfile classes not flagged as link classes so they can benefit of the same mechanisms (eg. events)
2023-06-29 09:59:09 +02:00
vdumas
4645e9b94b
N°6210 - Avoid n:n duplicates on User-Profile and Trigger-Actions - uniqueness rules
2023-04-19 16:35:31 +02:00
vdumas
4bab32264b
N°5972 - Allow User creation in Pop-up - Add Profile description
2023-04-12 18:46:04 +02:00
vdumas
169d5a81ed
N°6169 - Prevent Profile creation from Link object
2023-04-12 09:20:36 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
acognet
7ec12f1e12
N°4517 - PHP 8.1: Replace htmlentities(***, ENT_QUOTES, 'UTF-8') with utils::EscapeHtml
2022-07-01 09:22:25 +02:00
acognet
aae1e12b2e
N°4988 - History API : change consumers (iTop core)
2022-06-21 18:12:35 +02:00
Molkobain
304e379c01
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# datamodels/2.x/itop-core-update/cs.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/da.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/de.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/en.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/es_cr.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/fr.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/hu.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/it.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/ja.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/nl.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/pt_br.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/ru.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/sk.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/tr.dict.itop-core-update.php
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.html.twig
# datamodels/2.x/itop-core-update/view/SelectUpdateFile.ready.js.twig
# datamodels/2.x/itop-core-update/zh_cn.dict.itop-core-update.php
2022-03-09 18:31:34 +01:00
odain-cbd
8ab38854a8
N°4920 - Fix "undefined index" notice in user rights ( #271 )
2022-03-08 18:21:40 +01:00
denis.flaven@combodo.com
5bcdcb52b2
N°4534 - creation of a new category 'filter' to hide admins to
...
non-admins without breaking legacy code.
2021-11-05 11:29:41 +01:00
denis.flaven@combodo.com
bf4835eec0
N°4354 - Hide Administrator profile to non-admins
2021-10-06 15:34:23 +02:00
Molkobain
250d95c3eb
N°4106 - Remove overloads of DBObject::GetName()
2021-06-28 13:19:41 +02:00
acognet
c214d09e84
N°2841 - Error when trying to delete a user with a no admin
2021-03-18 18:20:34 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
Molkobain
71bb071f38
N°2907 - Keep (standard) read-only tabs visible in edit mode
...
Specifics:
- User / Grant matrix
- Subnet / IP Usage
- Incident / Known errors
- UserRequest (Simple/ITIL) / Known errors
Generics:
- History (moved to activity panel)
- Notifications
2020-10-19 22:21:33 +02:00
Molkobain
8193ada159
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# composer.json
# css/light-grey.scss
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
2020-09-08 17:30:32 +02:00
Eric
328ec52c88
N°3162 - Remove default admin phone number (can be incompatible with validation pattern)
2020-08-31 11:38:24 +02:00
Molkobain
c61a66ca69
N°3233 - Remove "display_template" from datamodel classes
2020-08-04 13:26:57 +02:00
Molkobain
4400cfde62
N°2313 - Markup extensibility: Update usages of admin. console tabs to have codes and titles
2020-01-15 08:42:35 +01:00
Pierre Goiffon
0ee77d8c88
N°2163 DB*Tracked methods : modifications after review with Romain
...
Previous commit : 24eb82d1
Use \CMDBObject::SetTrackInfo
Move \CMDBObject::SetCurrentChange calls at the top most level of the stacks
Restore old behaviors that were removed in previous commit
2019-11-25 14:58:59 +01:00
Pierre Goiffon
24eb82d140
N°2361 Deprecate DB*Tracked methods
...
* update methods PHPDoc
* DBInsertTracked update callers
* DBInsertTrackedNoReload update callers
* DBUpdateTracked update callers
* DBDeleteTracked update callers
2019-11-15 17:56:04 +01:00
Pierre Goiffon
40a4e6d7b0
Fix files using CrLf, convert them to Lf to have the whole repo using Lf
...
Warn your git config (core.autocrlf = input or true)
2018-09-04 17:59:51 +02:00
Denis Flaven
d21d732545
Do not check if the organizations are allowed if there is no user logged in (use case: automatic synchro of users at connection time)
...
SVN:trunk[5930]
2018-07-05 12:54:58 +00:00
Vincent Dumas
a903711a7a
Add default search criterion on Action and Profile classes
...
SVN:trunk[5908]
2018-06-25 13:23:35 +00:00
Vincent Dumas
9e17a611d2
Add 'name' and 'description' as default search criteria on QueryPhrase, Audit Category and Profile. Enable search bar on Profile and Audit Category menus.
...
SVN:trunk[5907]
2018-06-25 11:06:52 +00:00
Eric Espié
a848cb28f1
N°1436 - Access control updated for grant_by_profile categories of classes -
...
Fix access to internal classes form the core engine
SVN:trunk[5903]
2018-06-22 16:07:35 +00:00
Stephen Abello
fdb439f054
N°1520 : URP_Profiles now has a default search criteria
...
SVN:trunk[5897]
2018-06-21 13:22:01 +00:00
Eric Espié
c3fbdc907c
N°1248 - User Management: Check organization related to the current user
...
SVN:trunk[5677]
2018-04-17 10:22:12 +00:00
Eric Espié
85a5ddb980
N°478 - Customizable access to the 'Admin Tools'
...
- Display additional rights (grant_by_profile) in the grant matrix
SVN:trunk[5367]
2018-02-26 10:38:09 +00:00
Eric Espié
d65bd97956
N°478 - Customizable access to the 'Admin Tools'
...
SVN:trunk[5364]
2018-02-23 11:13:07 +00:00
Eric Espié
94d45fc77f
N°1248 - User Management Portal
...
* Added a new grant_by_profile category that allows to manage certain classes in addition to bizmodel with user profiles.
* The following classes have the new grant_by_profile category:
User, UserInternal, UserLocal, UserLDAP, UserExternal, URP_UserProfile, URP_UserOrg
* For these classes, it is possible to manage access rights with user profiles for non-administrators.
* For these classes, the default behavior of SELECT requests changes from allowed to forbidden.
* For user profiles, the default behavior '*' is limited to the bizmodel category to keep the previous behavior of profiles, i. e. for classes in the grant_by_profile category, rights (including READ) must be given explicitly.
* New constraints have been added, so only an administrator can manage (attach or detach) the 'Administrator' profile.
SVN:trunk[5298]
2018-01-30 15:17:51 +00:00
Romain Quetiez
bfadbc4098
Prerequisites for custom fields
...
SVN:trunk[3918]
2016-02-19 12:30:19 +00:00
Romain Quetiez
3be0bc8ca8
Improved the User Rights management API:
...
- new verbs: HasProfile and ListProfiles
- doing less queries (no need for listing all the profiles, caching the user profiles into the SESSION cookie
- did some code cleanup (unused variables)
SVN:trunk[3852]
2015-12-15 20:30:30 +00:00
Denis Flaven
1f2ad9ecdb
Demo mode: prevent the deletion of Users...
...
SVN:trunk[3452]
2014-12-04 10:02:14 +00:00
Romain Quetiez
165d01e2a2
Legacy user rights management: allow the deletion of a profile in one step (it was nearly impossible because of the numerous related records, mainly of type URP_ActionGrant, for which iTop was requesting a manual deletion)
...
SVN:trunk[3277]
2014-07-16 10:48:08 +00:00
Romain Quetiez
f89792e171
Demo mode: the profiles must be in read-only mode (it is not enough to have the users in read-only)
...
SVN:trunk[3203]
2014-06-10 11:50:20 +00:00
Romain Quetiez
6f90d626fc
Code refactoring: MakeSelectFilter
...
SVN:trunk[3015]
2013-12-03 09:56:46 +00:00
Romain Quetiez
721faa7e1e
Updated copyright (2012) and license (LGPL changed to AGPL)
...
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Denis Flaven
06aef10f25
Imported the "old" addon from the 1.2 branch
...
SVN:trunk[2245]
2012-10-10 09:49:58 +00:00
Romain Quetiez
7dbbb1c299
#439 Record and display changes in the link sets (ex: Members of a team)
...
#439 Make sure that changes made by a plugin get recorded
+ simplified the change tracking for the plugins. Simply call DBObject::DBInsert (resp. Update and Delete) and the change will be recorded for the current page. This is compatible with the old (not mandatory anymore) way that was requiring DBInsertTracked APIs (resp. Update, Delete).
SVN:trunk[2236]
2012-10-08 12:17:56 +00:00
Romain Quetiez
645b2f5ad8
Profiles defined in XML: fixed regression preventing from creating an object
...
SVN:trunk[2185]
2012-09-17 07:49:00 +00:00