Add custom instance wide prefix for feed tokens
This MR adds a flag to the application settings for instance wide token prefixes. It also adds support for feed tokens as an example. Changelog: added Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/388379
上级
fd4fe849
No related branches found
No related tags found
显示
- app/helpers/application_settings_helper.rb 1 个添加, 0 个删除app/helpers/application_settings_helper.rb
- app/models/application_setting.rb 8 个添加, 0 个删除app/models/application_setting.rb
- app/models/application_setting_implementation.rb 1 个添加, 0 个删除app/models/application_setting_implementation.rb
- app/models/user.rb 9 个添加, 1 个删除app/models/user.rb
- app/views/admin/application_settings/_account_and_limit.html.haml 6 个添加, 0 个删除...s/admin/application_settings/_account_and_limit.html.haml
- config/application_setting_columns/token_prefixes.yml 12 个添加, 0 个删除config/application_setting_columns/token_prefixes.yml
- config/feature_flags/beta/custom_prefix_for_all_token_types.yml 9 个添加, 0 个删除.../feature_flags/beta/custom_prefix_for_all_token_types.yml
- db/migrate/20250227090549_add_token_prefixes_to_application_settings.rb 28 个添加, 0 个删除...50227090549_add_token_prefixes_to_application_settings.rb
- db/schema_migrations/20250227090549 1 个添加, 0 个删除db/schema_migrations/20250227090549
- db/structure.sql 2 个添加, 0 个删除db/structure.sql
- doc/administration/settings/account_and_limit_settings.md 37 个添加, 0 个删除doc/administration/settings/account_and_limit_settings.md
- doc/development/cells/application_settings_analysis.md 1 个添加, 0 个删除doc/development/cells/application_settings_analysis.md
- lib/authn/token_field/prefix_helper.rb 19 个添加, 0 个删除lib/authn/token_field/prefix_helper.rb
- lib/authn/tokens/feed_token.rb 1 个添加, 1 个删除lib/authn/tokens/feed_token.rb
- locale/gitlab.pot 3 个添加, 0 个删除locale/gitlab.pot
- spec/controllers/admin/application_settings_controller_spec.rb 35 个添加, 0 个删除...controllers/admin/application_settings_controller_spec.rb
- spec/lib/authn/token_field/prefix_helper_spec.rb 37 个添加, 0 个删除spec/lib/authn/token_field/prefix_helper_spec.rb
- spec/lib/authn/tokens/feed_token_spec.rb 17 个添加, 3 个删除spec/lib/authn/tokens/feed_token_spec.rb
- spec/models/application_setting_spec.rb 1 个添加, 0 个删除spec/models/application_setting_spec.rb
- spec/models/user_spec.rb 26 个添加, 0 个删除spec/models/user_spec.rb
加载中
想要评论请 注册 或 登录