Simon Brandhof
c1caffa9fb
SONARCLOUD-213 fix Quality flaws
il y a 5 ans
Eric Hartmann
d933f38f5f
SONAR-11271 Add migration to create new permissions
il y a 5 ans
Eric Hartmann
4d159788f0
SONAR-11271 Introduce two new rights
APPLICATION_CREATOR to allow creation of Applications
PORTFOLIO_CREATOR to allow creation of Portfolios
il y a 5 ans
Simon Brandhof
d55f047c44
Cleanup code based on Intellij inspections
il y a 6 ans
Simon Brandhof
c0d2705e61
Fix license headers for 2018
il y a 6 ans
Julien Lancelot
16b42344b1
Rename ComponentDto#getKey to ComponentDto#getDbKey
Preparing component key that will contains branch key
il y a 6 ans
Eric Hartmann
329a3c594a
SONAR-9514 SONAR-9516 SONAR-9517 ES resilience from POST WS
il y a 6 ans
Julien Lancelot
f91190bf83
SONAR-9287 Fix limited number of returned permissions in api/permissions/users
il y a 7 ans
Sébastien Lesaint
e21722bdc3
SONAR-9140 support public flag in ComponentTesting/ComponentDbTester
il y a 7 ans
Julien Lancelot
ecd5c70f62
UserDbTester.insertUser does not add default organization membership
il y a 7 ans
Teryk Bellahsene
ed1aa9d75e
SONAR-8997 SONAR-8998 Filter organization members when selecting users to change permissions and template permissions
il y a 7 ans
Simon Brandhof
b15e5e7a05
Move OrganizationPermission to sonar-db-dao
il y a 7 ans
Simon Brandhof
456f46662f
Use the methods UserSession accepting OrganizationPermission param
il y a 7 ans
Simon Brandhof
33acda7596
Fix integer type of user and group ids
User IDs are INTEGER in database. The java classes are fixed
to replace long by int.
il y a 7 ans
Teryk Bellahsene
cfa372a57a
SONAR-8637 Update POM parent version
il y a 7 ans
Simon Brandhof
1b6a668e28
SONAR-8716 remove usages of UserSessionRule#setGlobalPermissions()
il y a 7 ans
Sébastien Lesaint
2d00e017b5
SONAR-8608 bulk apply template only on projects of template's org
il y a 7 ans
Sébastien Lesaint
7efab8ef44
rename UserSessionRule.login() to logIn() for clarity
il y a 7 ans
Simon Brandhof
934bf664b8
SONAR-8704 Refactor Elasticsearch types "authorization"
Multiple indices define a type "authorization".
The related code was duplicated, and sometimes
had some minor differences. This commits share
all the management of these types in the same
bunch of classes.
It also allows to quickly create a project-related
index, without having to fix the different locations
which may require project re-indexing.
il y a 7 ans
Simon Brandhof
f78f06335e
Remove error-prone params Organization in UserDbTester
il y a 7 ans
Sébastien Lesaint
a50808c9a3
SONAR-8690 read and write default templates from ORGANIZATIONS table
il y a 7 ans
Sébastien Lesaint
fcf197ca98
SONAR-8608 consistent organization on permission/group/component
il y a 7 ans
Daniel Schwarz
66414bc7e9
SONAR-7282 add authorization to the ComponentIndex
il y a 7 ans
Daniel Schwarz
bc06486e57
SONAR-7282 rename .component.es to .measure.index
* All other elastic search indexes reside in
"index" subpackages.
* We want to introduce a new component index
and need the .component.index-package name
for that one.
il y a 7 ans
Sébastien Lesaint
299ea02a3f
SONAR-8595 enforce organization of component is specified in UTs
for UTs using ComponentTesting and/or ComponentDbTester
il y a 7 ans
Sébastien Lesaint
722854e4dc
SONAR-8429 apply permission template of specified organization
rather than the one of the default organization no matter what
PermissionTemplateService does not use the default organization under the hood anymore
il y a 7 ans
Simon Brandhof
f34266f025
SONAR-8278 Support organizations in web service api/permissions/search_templates
il y a 7 ans
Simon Brandhof
c004eacf33
SONAR-8134 merge PermissionRepository into PermissionTemplateService
il y a 7 ans
Simon Brandhof
4770d7ad2a
SONAR-8134 rename PermissionService
It's only about templates, so class is renamed
PermissionTemplateService.
il y a 7 ans
Simon Brandhof
c2ed13e241
SONAR-8134 remove ComponentFinder from PermissionService
il y a 7 ans
Simon Brandhof
ee433377a2
SONAR-8134 replace WsTester by WsActionTester
in tests of permissions web services
il y a 7 ans
Simon Brandhof
c545808bb4
SONAR-8267 SONAR-8265 add organization parameter
to web services api/permissions/search_global_permissions
and api/permissions/users.
Both WS are touched at the same time as the same refactoring
is required in UserPermissionDao.
il y a 7 ans
Simon Brandhof
1e663e7149
SONAR-8261 Support organizations in web service api/permissions/groups
il y a 7 ans
Julien Lancelot
972fbd3a52
SONAR-8227 Rename AuthorizationIndexer to PermissionIndexer
il y a 7 ans
Julien Lancelot
ac8031ea04
SONAR-8227 Index project measures authorization
il y a 7 ans
Julien Lancelot
980460baad
SONAR-8227 Index authorization by projects
il y a 7 ans
Julien Lancelot
7b3ad7add7
SONAR-8227 Move org.sonar.server.issue.index.IssueAuthorizationIndexer to org.sonar.server.permission.index.AuthorizationIndexer
This indexer will also be used to feed the authorization type of projectmeasures index
il y a 7 ans
Sébastien Lesaint
718789f18f
SONAR-8192 rename DefaultOrganizationProviderRule to TestDefaultOrganizationProvider
il y a 7 ans
Simon Brandhof
6189f1973d
SONAR-8272 SONAR-8273 organization in WS to apply permission templates
il y a 7 ans
Simon Brandhof
8595a520f3
Support organizations in permission template web services
il y a 7 ans
Simon Brandhof
f2115ee22b
Remove RoleDao#insertUserRole()
il y a 7 ans
Simon Brandhof
dca860b61a
Move and rename GroupRoleDto to GroupPermissionDto
il y a 7 ans
Simon Brandhof
a30dc8ee3d
Rename PermissionDao to GroupPermissionDao
il y a 7 ans
Simon Brandhof
672d9dc2e3
Remove some methods related to users from RoleDao
il y a 7 ans
Simon Brandhof
9974dee49c
Remove deprecated code in permission DAOs
il y a 7 ans
Simon Brandhof
f79030e299
SONAR-7678 server-side stateless settings
* Settings class becomes abstract as multiple implementations
are used. Can't become an interface for binary
backward-compatibility of API
* tests should use MapSettings, an in-memory implementation
of Settings
* web server uses a thread-specific cache of settings when
processing HTTP requests
* web server does not have a cache of settings during startup,
except for the system settings loaded from sonar.properties
* Compute Engine uses a thread-specific cache of settings when
processing a task. Cache is clear at end of task.
* some useless methods of PersistentSettings are removed
il y a 7 ans
Teryk Bellahsene
a51fcb2ad9
Refactor UserPermissionDto
il y a 8 ans
Teryk Bellahsene
a607b5d750
Move permissions template classes and resources to a specific package in sonar-db
il y a 8 ans
Teryk Bellahsene
fc558542c4
SONAR-7835 Select users by query
il y a 8 ans
Simon Brandhof
48d5099ff5
Remove unused annotation @DbTests
il y a 8 ans