Skip to content

Add user attribute push rules documentation#65

Open
rtfc1 wants to merge 1 commit intomainfrom
attribute-push-rule
Open

Add user attribute push rules documentation#65
rtfc1 wants to merge 1 commit intomainfrom
attribute-push-rule

Conversation

@rtfc1
Copy link
Contributor

@rtfc1 rtfc1 commented Feb 6, 2026

New docs page for attribute push rules

Summary by CodeRabbit

  • Documentation
    • Comprehensive guide added for user attribute push rules, including overview, use cases, prerequisites, and step-by-step configuration instructions. Details rule management, attribute mapping configuration, CEL expression syntax for transformations, user targeting capabilities, custom attribute support, and practical implementation examples.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 6, 2026

📝 Walkthrough

Walkthrough

A new documentation file introducing user attribute push rules is added to the admin product documentation. The guide covers overview, use cases, operational mechanics, configuration steps, CEL expressions for transformations, user targeting options, and practical examples.

Changes

Cohort / File(s) Summary
Documentation
product/admin/attribute-push-rules.mdx
New MDX documentation file (+113 lines) detailing user attribute push rules, including prerequisites, setup instructions, configuration examples, CEL syntax for attribute transformation and targeting, and common use case scenarios.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

📚 Hop, hop! Fresh docs arrive,
A guide to push rules, now alive!
Attributes map and transform with grace,
CEL expressions find their place.
Admin knowledge hops ahead! 🐰

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding documentation for user attribute push rules. It is clear, concise, and directly reflects the changeset content.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch attribute-push-rule

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@product/admin/attribute-push-rules.mdx`:
- Line 28: Replace the vague line "You manually trigger a push" with a short,
actionable how-to: add a brief step-by-step for the UI (e.g., navigate to
Settings → Attributes → click "Push now" or similar button) and an alternative
CLI/API example (e.g., show the CLI command or POST /attributes/push endpoint
and required auth/payload) so users know where to perform the action; update the
copy in product/admin/attribute-push-rules.mdx replacing the phrase "You
manually trigger a push" with these concrete instructions and include
one-sentence notes about expected results and where to find logs/status.
- Line 36: The prerequisite text "User attribute mappings defined in
ConductorOne (Admin > Settings > User data sources)" is ambiguous; update the
copy in attribute-push-rules.mdx to briefly explain what "user attribute
mappings" are, how to verify them (e.g., confirm required attributes like
email/username are mapped to source fields in Admin > Settings > User data
sources), and add a link to the ConductorOne docs or the User data sources
settings page for step-by-step instructions; reference the exact phrase "User
attribute mappings defined in ConductorOne (Admin > Settings > User data
sources)" when editing so readers can quickly find and replace the line with the
clarified text and link.
🧹 Nitpick comments (3)
product/admin/attribute-push-rules.mdx (3)

12-12: Consider breaking up this long sentence for improved readability.

The sentence contains multiple use cases connected by "as well as," making it a bit dense. Consider restructuring into a bulleted list or separate sentences.

✨ Suggested refactor for clarity
-Use attribute push rules when you need to keep user profile data synchronized across applications or populate custom user fields in connected applications. They're also helpful for maintaining consistent user attributes for compliance or operational purposes, as well as transforming or deriving attribute values before syncing to applications.
+Use attribute push rules when you need to:
+
+- Keep user profile data synchronized across applications
+- Populate custom user fields in connected applications
+- Maintain consistent user attributes for compliance or operational purposes
+- Transform or derive attribute values before syncing to applications

71-85: Consider documenting available user fields for CEL expressions.

The CEL examples reference fields like user.first_name, user.last_name, and user.department, but the documentation doesn't explain what fields are available on the user object. Adding a reference to available attributes would help users write their own expressions.

Consider adding a note like:

Note: You can reference any ConductorOne user attribute in your CEL expressions using user.attribute_name. See the Attributes tab in User data sources for available attributes.


44-44: Optional: Consider varying the phrasing to avoid repetition.

The phrase "you want to sync" follows a similar pattern used earlier ("you want to push" on line 18). While this is natural in instructional content, you could vary it slightly for stylistic consistency. As per coding guidelines, LanguageTool identified this as repetitive phrasing.

✍️ Alternative phrasing
-5. For each attribute you want to sync:
+5. For each attribute to sync:


- The push configuration is created or updated
- A user's attribute values change in ConductorOne
- You manually trigger a push
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Clarify how to manually trigger a push.

The documentation mentions that attributes are pushed when "you manually trigger a push," but doesn't explain how to perform this action. Users may be unclear about where to find this capability.

Would you like me to help draft instructions for manually triggering a push, or should this capability be documented in a separate section?

🤖 Prompt for AI Agents
In `@product/admin/attribute-push-rules.mdx` at line 28, Replace the vague line
"You manually trigger a push" with a short, actionable how-to: add a brief
step-by-step for the UI (e.g., navigate to Settings → Attributes → click "Push
now" or similar button) and an alternative CLI/API example (e.g., show the CLI
command or POST /attributes/push endpoint and required auth/payload) so users
know where to perform the action; update the copy in
product/admin/attribute-push-rules.mdx replacing the phrase "You manually
trigger a push" with these concrete instructions and include one-sentence notes
about expected results and where to find logs/status.


- Admin permissions in ConductorOne
- A configured connector for the target application
- User attribute mappings defined in ConductorOne (Admin \> Settings \> User data sources)
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Clarify the "User attribute mappings defined" prerequisite.

This prerequisite mentions "User attribute mappings defined in ConductorOne" but doesn't explain what this means or how users can verify it's met. Consider adding a brief explanation or a link to relevant documentation.

💡 Suggested improvement
-- User attribute mappings defined in ConductorOne (Admin \> Settings \> User data sources)
+- User attributes configured in ConductorOne (Admin \> Settings \> User data sources \> Attributes tab). These are the source attributes you'll map from.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- User attribute mappings defined in ConductorOne (Admin \> Settings \> User data sources)
- User attributes configured in ConductorOne (Admin \> Settings \> User data sources \> Attributes tab). These are the source attributes you'll map from.
🤖 Prompt for AI Agents
In `@product/admin/attribute-push-rules.mdx` at line 36, The prerequisite text
"User attribute mappings defined in ConductorOne (Admin > Settings > User data
sources)" is ambiguous; update the copy in attribute-push-rules.mdx to briefly
explain what "user attribute mappings" are, how to verify them (e.g., confirm
required attributes like email/username are mapped to source fields in Admin >
Settings > User data sources), and add a link to the ConductorOne docs or the
User data sources settings page for step-by-step instructions; reference the
exact phrase "User attribute mappings defined in ConductorOne (Admin > Settings
> User data sources)" when editing so readers can quickly find and replace the
line with the clarified text and link.

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

Successfully merging this pull request may close these issues.

1 participant