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

Use JSON Logic GUI to display scope expression #865

Closed
ldeveloperl1985 opened this Issue Feb 26, 2018 · 5 comments

Comments

Projects
None yet
7 participants
@ldeveloperl1985

ldeveloperl1985 commented Feb 26, 2018

Currently scope expression display in row format.
umaissuerowimage

Display this row format to GUI.

Example:

row JSON
{  
   "rule":{  
      "or":[  
         {  
            "var":0
         },
         {  
            "var":1
         },
         {  
            "and":[  
               {  
                  "var":2
               },
               {  
                  "var":3
               }
            ]
         }
      ]
   },
   "data":[  
      "https://test1.com",
      "https://test2.com",
      "https://test1.com",
      "https://test3.com"
   ]
}
Note:
1.     "var":0 --> "https://test1.com"
        "var":1 --> "https://test2.com"
         ...

2. JSON rules can be nested at any level.

Convert below JSON to GUI.

umanewissue

I've made this design in Gluu-Gateway which is in angular JS framework. But you can use JQuery-Builder library.

@nynymike nynymike added this to the 3.1.3 milestone Feb 26, 2018

@yurem yurem modified the milestones: 3.1.3, 3.1.4 Mar 6, 2018

shekhar16 added a commit that referenced this issue Apr 12, 2018

yurem added a commit that referenced this issue Apr 13, 2018

shekhar16 added a commit that referenced this issue Apr 13, 2018

@shekhar16

This comment has been minimized.

Contributor

shekhar16 commented Apr 13, 2018

image

yurem added a commit that referenced this issue Apr 17, 2018

yurem added a commit that referenced this issue Apr 18, 2018

yurem added a commit that referenced this issue Apr 18, 2018

@shekhar16

This comment has been minimized.

Contributor

shekhar16 commented Apr 22, 2018

@yurem @willow9886 Can we close this issue ?

shekhar16 added a commit that referenced this issue Jun 2, 2018

yurem added a commit that referenced this issue Jun 21, 2018

Merge pull request #999 from GluuFederation/oxTrust/issues/#808and#865
#808 and #865 : Added add resource button and make some changes for

@shekhar16 shekhar16 closed this Jul 3, 2018

yurem added a commit that referenced this issue Aug 9, 2018

@sahiliamsso

This comment has been minimized.

Contributor

sahiliamsso commented Aug 15, 2018

AND/OR is not selectable.
image

@sahiliamsso sahiliamsso reopened this Aug 15, 2018

@natt-tester

This comment has been minimized.

natt-tester commented Sep 10, 2018

@shekhar16, please refer to Sahil's comment above.

syntrydy pushed a commit that referenced this issue Sep 24, 2018

@syntrydy

This comment has been minimized.

Contributor

syntrydy commented Sep 24, 2018

image

syntrydy added a commit that referenced this issue Sep 24, 2018

Merge pull request #1253 from /issues/865
Fix jquery builder component #865

syntrydy pushed a commit that referenced this issue Sep 24, 2018

@syntrydy syntrydy closed this Sep 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment