Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LightningSalesConsole feature doesn't provide full feature #1176

Open
bingincap opened this issue Sep 7, 2021 · 6 comments
Open

LightningSalesConsole feature doesn't provide full feature #1176

bingincap opened this issue Sep 7, 2021 · 6 comments
Labels
area:signups bug Issue or pull request that identifies or fixes a bug owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.

Comments

@bingincap
Copy link

Summary

The feature name LightningSalesConsole used in scratch org definition files doesn't seem to enable the full feature.

Steps To Reproduce:

Repository to reproduce: dev-group-feb-2021

  1. Use the definition file config/more-features-scratch.json to create a scratch org
  2. Open the scratch org

Expected result

Sales Console permission set license is available to use in the scratch org, and there should be a Salesforce Console User permission set (name: force__SalesConsoleUser) available too.

Actual result

  1. The Sales Console license is available but shows a "disabled" status
  2. There's no expected permission set
    The Sales Console Lightning app is avaialble.

System Information

{
"cliVersion": "sfdx-cli/7.113.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v14.17.4",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.2 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-update 1.4.0-3 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"@salesforce/sfdx-trust 3.6.0 (core)",
"alias 1.1.10 (core)",
"apex 0.2.3 (core)",
"auth 1.7.1 (core)",
"config 1.2.23 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.6.0 (core)",
"generator 1.1.7 (core)",
"limits 1.2.1 (core)",
"org 1.6.9 (core)",
"salesforce-alm 52.2.4 (core)",
"schema 1.0.8 (core)",
"sfdx-cli 7.113.0 (core)",
"source 1.0.7 (core)",
"telemetry 1.2.3 (core)",
"templates 52.1.0 (core)",
"user 1.4.0 (core)"
],
"osVersion": "Darwin 20.6.0"
}

Additional information

Tested to behave the same with a different Dev Hub with CLI running on Windows.

{
"cliVersion": "sfdx-cli/7.113.0",
"architecture": "win32-x64",
"nodeVersion": "node-v14.17.4",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.2 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-update 1.4.0-3 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@Salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"@Salesforce/sfdx-trust 3.6.0 (core)",
"alias 1.1.10 (core)",
"apex 0.2.3 (core)",
"auth 1.7.1 (core)",
"config 1.2.23 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.6.0 (core)",
"generator 1.1.7 (core)",
"limits 1.2.1 (core)",
"org 1.6.9 (core)",
"salesforce-alm 52.2.4 (core)",
"schema 1.0.8 (core)",
"sfdx-cli 7.113.0 (core)",
"source 1.0.7 (core)",
"telemetry 1.2.3 (core)",
"templates 52.1.0 (core)",
"user 1.4.0 (core)"
],
"osVersion": "Windows_NT 10.0.18363"
}

@bingincap bingincap added the investigating We're actively investigating this issue label Sep 7, 2021
@github-actions
Copy link

github-actions bot commented Sep 7, 2021

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@mshanemc
Copy link
Contributor

https://help.salesforce.com/s/articleView?id=sf.console_lex_assign_perm_set.htm&type=5

NOTE Users with Salesforce licenses, such as Sales Cloud and Service Cloud feature licenses, already have the Lightning Console User permission enabled. You can’t disable this user permission for these users. Don’t assign the Lightning Console permission set license to those with Salesforce user licenses. These users can already access Lightning console apps.

Do you create other license types (Platform?) in your scratch org that you're trying to assign the PSL to? The setup guide (linked above) seems to suggest that you'd create the PS yourself?

@mshanemc mshanemc added the more information required Issue requires more information or a response from the customer label Sep 10, 2021
@bingincap
Copy link
Author

Yes the scratch def does have the Platform User feature in there ("ForceComPlatform"). My main issue here is that the existing repo I'm working with has several Permission Set Groups that utilizes a permission set ("force__SalesConsoleUser") that seems to come with that particular PSL. I understand that my workaround here for those could be to just clone that PS into a custom one, but rather not do that if there's bug to fix here. Besides, that wouldn't help if I actually need to assign the PSL to a Platform user with the PSL showing as "disabled".

@no-response no-response bot removed the more information required Issue requires more information or a response from the customer label Sep 10, 2021
@mshanemc mshanemc added owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team. waiting for internal reply The Salesforce team is working on a fix and has promised an update labels Sep 27, 2021
@github-actions
Copy link

We have determined that the issue you reported exists in code owned by another team that uses only the official support channels. To ensure that your issue is addressed, open an official Salesforce customer support ticket with a link to this issue. We encourage anyone experiencing this issue to do the same to increase the priority. We will keep this issue open for the community to collaborate on.

@mshanemc mshanemc added the bug Issue or pull request that identifies or fixes a bug label Jan 31, 2024
Copy link

git2gus bot commented Jan 31, 2024

This issue has been linked to a new work item: W-14937733

@mshanemc mshanemc removed waiting for internal reply The Salesforce team is working on a fix and has promised an update investigating We're actively investigating this issue labels Jan 31, 2024
@mshanemc
Copy link
Contributor

marking this as a bug so it ends up in GUS, found the right team to get it resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:signups bug Issue or pull request that identifies or fixes a bug owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Projects
None yet
Development

No branches or pull requests

3 participants